nw::demo::Utility::CreateSceneNode Member Functionstatic nw::gfx::SceneNode * CreateSceneNode( os::IAllocator * deviceAllocator, nw::gfx::ResSceneObject resource, bool isAnimationEnabled = true, nw::gfx::Model::BufferOption bufferOption = nw::gfx::Model::FLAG_BUFFER_NOT_USE, s32 maxAnimObjects = 1 );
| Name | Description | |
|---|---|---|
| in | deviceAllocator |
Device memory allocator used for generation. |
| in | resource | Scene object resource. |
| in | isAnimationEnabled | Specifies whether animation is enabled. |
| in | bufferOption | Type of buffer. |
| in | maxAnimObjects |
The maximum number of AnimObject's per AnimGroup held by AnimBinding. |
Creates an instance of the scene node from the scene object resource.
CONFIDENTIAL