Nebula
|
#include <modelnode.h>
Inherited by Models::TransformNode.
Public Member Functions | |
ModelNode () | |
constructor | |
virtual | ~ModelNode () |
destructor | |
const Util::Array< ModelNode * > & | GetChildren () const |
return constant reference to children | |
const NodeType | GetType () const |
get type of node | |
const NodeBits | GetBits () const |
get feature bits of node | |
virtual bool | GetImplicitHierarchyActivation () const |
return true if all children should create hierarchies upon calling CreateInstance | |
const Util::StringAtom & | GetName () const |
return name | |
const uint32_t | HashCode () const |
get hash | |
virtual std::function< void(const CoreGraphics::CmdBufferId)> | GetApplyFunction () |
Get function to apply node. | |
virtual std::function< const CoreGraphics::PrimitiveGroup()> | GetPrimitiveGroupFunction () |
Get function to fetch primitive group. | |
virtual void | Unload () |
Unload data (don't call explicitly) | |
Protected Member Functions | |
virtual bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) |
load data | |
virtual void | OnFinishedLoading (ModelStreamingData *streamingData) |
call when model node data is finished loading (not accounting for secondary resources) | |
virtual void | Discard () |
discard node | |
Protected Attributes | |
Util::StringAtom | name |
NodeType | type |
NodeBits | bits |
Models::ModelNode * | parent |
Util::Array< Models::ModelNode * > | children |
Math::bbox | boundingBox |
Util::StringAtom | tag |
IndexT | uniqueId |
Static Protected Attributes | |
static IndexT | ModelNodeUniqueIdCounter = 0 |
Friends | |
class | ModelLoader |
class | ModelContext |
class | ModelServer |
class | CharacterNode |
class | CharacterSkinNode |
class | Characters::CharacterContext |
class | Particles::ParticleContext |
Models::ModelNode::ModelNode | ( | ) |
constructor
|
virtual |
destructor
|
protectedvirtual |
discard node
Reimplemented in Models::CharacterNode.
|
inlinevirtual |
Get function to apply node.
|
inline |
get feature bits of node
|
inline |
return constant reference to children
|
virtual |
return true if all children should create hierarchies upon calling CreateInstance
Reimplemented in Models::CharacterNode.
|
inline |
return name
|
inlinevirtual |
Get function to fetch primitive group.
|
inline |
get type of node
|
inline |
get hash
|
protectedvirtual |
load data
Reimplemented in Models::CharacterNode, Models::CharacterSkinNode, Models::ParticleSystemNode, Models::PrimitiveNode, Models::ShaderStateNode, and Models::TransformNode.
|
protectedvirtual |
call when model node data is finished loading (not accounting for secondary resources)
Reimplemented in Models::CharacterSkinNode, Models::ParticleSystemNode, Models::PrimitiveNode, and Models::ShaderStateNode.
|
virtual |
Unload data (don't call explicitly)
Reimplemented in Models::PrimitiveNode, and Models::ShaderStateNode.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |