|
Nebula
|
#include <transformnode.h>
Inherits Models::ModelNode.
Inherited by Models::CharacterNode, and Models::ShaderStateNode.
Public Member Functions | |
| TransformNode () | |
| constructor | |
| virtual | ~TransformNode () |
| destructor | |
| void | GetLODDistances (float &minDistance, float &maxDistance) |
| Get LOD distances. | |
Public Member Functions inherited from Models::ModelNode | |
| 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) override |
| load transform | |
Protected Member Functions inherited from Models::ModelNode | |
| 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 | |
| Math::vec3 | position |
| Math::quat | rotate |
| Math::vec3 | scale |
| Math::vec3 | rotatePivot |
| Math::vec3 | scalePivot |
| bool | isInViewSpace |
| float | minDistance |
| float | maxDistance |
| bool | useLodDistances |
| bool | lockedToViewer |
Protected Attributes inherited from Models::ModelNode | |
| Util::StringAtom | name |
| NodeType | type |
| NodeBits | bits |
| Models::ModelNode * | parent |
| Util::Array< Models::ModelNode * > | children |
| Math::bbox | boundingBox |
| Util::StringAtom | tag |
| IndexT | uniqueId |
Friends | |
| class | ModelLoader |
| class | ModelContext |
Additional Inherited Members | |
Static Protected Attributes inherited from Models::ModelNode | |
| static IndexT | ModelNodeUniqueIdCounter = 0 |
| Models::TransformNode::TransformNode | ( | ) |
constructor
|
virtual |
destructor
| void Models::TransformNode::GetLODDistances | ( | float & | minDistance, |
| float & | maxDistance ) |
Get LOD distances.
|
overrideprotectedvirtual |
load transform
Reimplemented from Models::ModelNode.
Reimplemented in Models::CharacterNode, Models::CharacterSkinNode, Models::ParticleSystemNode, Models::PrimitiveNode, and Models::ShaderStateNode.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |