#include <Scene.h>
|
| | DECLARE_ASSET (Scene, Asset) |
| |
| | Scene () |
| |
| | ~Scene () |
| |
| virtual void | LoadStream (Stream &stream, Platform platform) override |
| |
| virtual void | SaveStream (Stream &stream, Platform platform) override |
| |
| virtual void | Create () override |
| |
| virtual void | Destroy () override |
| |
| virtual void | GatherProperties (std::vector< Property > &outProps) override |
| |
| virtual glm::vec4 | GetTypeColor () override |
| |
| virtual const char * | GetTypeName () override |
| |
| void | Capture (Node *root, Platform platform=Platform::Count) |
| |
| NodePtr | Instantiate () |
| |
| template<typename T > |
| SharedPtr< T > | Instantiate () |
| |
| void | ApplyRenderSettings (World *world) |
| |
| uint8_t | GetIconOverride () const |
| |
| const std::string & | GetMenuOverride () const |
| |
| const std::vector< Property > * | GetRootNodeProperties () const |
| |
| | DECLARE_FACTORY_MANAGER (Asset) |
| |
| | DECLARE_FACTORY (Asset, Asset) |
| |
| | DECLARE_OBJECT (Asset, Object) |
| |
| | Asset () |
| |
| virtual | ~Asset () |
| |
| virtual void | Copy (Asset *srcAsset) |
| |
| const std::string & | GetName () const |
| |
| bool | IsLoaded () const |
| |
| bool | IsRefCounted () const |
| |
| int32_t | GetRefCount () const |
| |
| bool | IsEmbedded () const |
| |
| void | SetEmbedded (bool embed) |
| |
| bool | IsEngineAsset () const |
| |
| void | SetEngineAsset (bool engineAsset) |
| |
| void | SetName (const std::string &name) |
| |
| void | IncrementRefCount () |
| |
| void | DecrementRefCount () |
| |
| void | LoadFile (const char *path, AsyncLoadRequest *request=nullptr) |
| |
| void | LoadEmbedded (const EmbeddedFile *embeddedAsset, AsyncLoadRequest *request=nullptr) |
| |
| void | SaveFile (const char *path, Platform platform) |
| |
| virtual bool | Import (const std::string &path, ImportOptions *options=nullptr) |
| |
| virtual const char * | GetTypeImportExt () |
| |
| virtual bool | ShouldSnapshotForPie () const |
| |
| bool | IsTransient () const |
| |
| void | SetTransient (bool transient) |
| |
| uint64_t | GetUuid () const |
| |
| void | SetUuid (uint64_t uuid) |
| |
| void | EnsureUuid () |
| |
| void | WriteHeader (Stream &stream) |
| |
| virtual | ~Object ()=default |
| |
| virtual const char * | RuntimeName () const =0 |
| |
| virtual const char * | RuntimeParentName () const =0 |
| |
| virtual RuntimeId | InstanceRuntimeId () const =0 |
| |
| virtual Object * | QueryInterface (RuntimeId id) const |
| |
| virtual bool | Is (RuntimeId id) const |
| |
| virtual bool | Is (const char *name) const |
| |
| virtual bool | DrawCustomProperty (Property &prop) |
| |
| template<typename T > |
| T * | As () const |
| |
| virtual bool | Equals (const Object *rhs) const |
| |
◆ Scene()
◆ ~Scene()
◆ AddNodeDef()
| void Scene::AddNodeDef |
( |
Node * |
node, |
|
|
Platform |
platform, |
|
|
std::vector< Node * > & |
nodeList |
|
) |
| |
|
protected |
◆ ApplyRenderSettings()
| void Scene::ApplyRenderSettings |
( |
World * |
world | ) |
|
◆ Capture()
◆ CheckForNodeProps()
| bool Scene::CheckForNodeProps |
( |
std::vector< Property > & |
props | ) |
|
|
protected |
◆ Create()
Reimplemented from Asset.
◆ DECLARE_ASSET()
◆ Destroy()
Reimplemented from Asset.
◆ FindNodeIndex()
| int32_t Scene::FindNodeIndex |
( |
Node * |
node, |
|
|
const std::vector< Node * > & |
nodeList |
|
) |
| |
|
protected |
◆ GatherProperties()
| void Scene::GatherProperties |
( |
std::vector< Property > & |
outProps | ) |
|
|
overridevirtual |
Reimplemented from Asset.
◆ GetIconOverride()
| uint8_t Scene::GetIconOverride |
( |
| ) |
const |
|
inline |
◆ GetMenuOverride()
| const std::string & Scene::GetMenuOverride |
( |
| ) |
const |
|
inline |
◆ GetRootNodeProperties()
| const std::vector< Property > * Scene::GetRootNodeProperties |
( |
| ) |
const |
|
inline |
◆ GetTypeColor()
| glm::vec4 Scene::GetTypeColor |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Asset.
◆ GetTypeName()
| const char * Scene::GetTypeName |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Asset.
◆ HandlePropChange()
| bool Scene::HandlePropChange |
( |
Datum * |
datum, |
|
|
uint32_t |
index, |
|
|
const void * |
newValue |
|
) |
| |
|
staticprotected |
◆ Instantiate() [1/2]
◆ Instantiate() [2/2]
◆ LoadStream()
Reimplemented from Asset.
◆ SaveStream()
Reimplemented from Asset.
◆ mAmbientLightColor
| glm::vec4 Scene::mAmbientLightColor = { 0.1f, 0.1f, 0.1f, 1.0f } |
|
protected |
◆ mFogColor
| glm::vec4 Scene::mFogColor = { 0.0f, 0.0f, 0.0f, 1.0f } |
|
protected |
◆ mFogDensityFunc
◆ mFogEnabled
| bool Scene::mFogEnabled = false |
|
protected |
◆ mFogFar
| float Scene::mFogFar = 100.0f |
|
protected |
◆ mFogNear
| float Scene::mFogNear = 0.0f |
|
protected |
◆ mIconOverride
| uint8_t Scene::mIconOverride = 0 |
|
protected |
◆ mMenuOverride
| std::string Scene::mMenuOverride |
|
protected |
◆ mNodeDefs
◆ mSetAmbientLightColor
| bool Scene::mSetAmbientLightColor = false |
|
protected |
◆ mSetFog
| bool Scene::mSetFog = false |
|
protected |
◆ mSetShadowColor
| bool Scene::mSetShadowColor = false |
|
protected |
◆ mShadowColor
| glm::vec4 Scene::mShadowColor = { 0.0f, 0.0f, 0.0f, 0.8f } |
|
protected |
◆ sInstantiationCount
| int32_t Scene::sInstantiationCount = 0 |
|
staticprotected |
◆ sPendingNodePaths
The documentation for this class was generated from the following files: