![]() |
XII Release 0.1.0
|
#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. | |
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.
| 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.