XII Release 0.1.0
Loading...
Searching...
No Matches
xiiScenePreviewLighting Class Reference

#include <ScenePreviewLighting.h>

Public Member Functions

 xiiScenePreviewLighting (xiiWorld &world)
 XII_DISALLOW_COPY_AND_ASSIGN (xiiScenePreviewLighting)
xiiResult EnsureCreated (bool bSetEditorTag, bool bForce=false)
void Clear ()
 Immediately deletes helpers, including untagged thumbnail lighting, before scene export.

Detailed Description

Optional scene editing / thumbnail illumination using the native atmosphere and directional light. The sky has the lowest possible priority; authored skies use the renderer's normal priority ordering. Owns only its two helper objects, never scene-authored components. Must be destroyed before its world. Methods acquire the world's write marker internally.

Member Function Documentation

◆ EnsureCreated()

xiiResult xiiScenePreviewLighting::EnsureCreated ( bool bSetEditorTag,
bool bForce = false )

Creates or repairs the helpers. With bSetEditorTag they are excluded from scene export. Unless forced, creation is deferred while the world is empty. Repeated calls are idempotent.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/EditorPlugins/Scene/SharedPluginScene/Scene/ScenePreviewLighting.h
  • /home/runner/work/XII/XII/Source/EditorPlugins/Scene/SharedPluginScene/Scene/Implementation/ScenePreviewLighting.cpp