|
Nebula
|
#include <characterskinnode.h>
Inherits Models::PrimitiveNode.
Classes | |
| class | Fragment |
| a skin fragment More... | |
Public Member Functions | |
| CharacterSkinNode () | |
| constructor | |
| virtual | ~CharacterSkinNode () |
| destructor | |
| void | ReserveFragments (SizeT numFragments) |
| reserve fragments (call before adding fragments) | |
| void | AddFragment (IndexT primGroupIndex, const Util::Array< IndexT > &jointPalette) |
| add a fragment (consisting of a mesh group index and a joint palette) | |
| SizeT | GetNumFragments () const |
| get number of skin fragments | |
| IndexT | GetFragmentPrimGroupIndex (IndexT fragmentIndex) const |
| get primitive group index of a fragment | |
| const Util::Array< IndexT > & | GetFragmentJointPalette (IndexT fragmentIndex) const |
| get joint palette of a fragment | |
Public Member Functions inherited from Models::PrimitiveNode | |
| PrimitiveNode () | |
| constructor | |
| virtual | ~PrimitiveNode () |
| destructor | |
| uint | GetPrimitiveGroupIndex () const |
| Get the nodes primitive group index. | |
| uint | GetMeshIndex () const |
| Get the mesh index. | |
| const CoreGraphics::PrimitiveGroup & | GetPrimitiveGroup () const |
| Get primitive group. | |
| CoreGraphics::MeshId | GetMesh () const |
| Get primitives mesh id. | |
| Resources::ResourceId | GetMeshResource () const |
| Get mesh resource. | |
Public Member Functions inherited from Models::ShaderStateNode | |
| ShaderStateNode () | |
| constructor | |
| virtual | ~ShaderStateNode () |
| destructor | |
| const Materials::MaterialId | GetMaterial () const |
| get surface | |
Public Member Functions inherited from Models::TransformNode | |
| 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. | |
Protected Member Functions | |
| virtual bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) override |
| parse data tag (called by loader code) | |
| virtual void | OnFinishedLoading (ModelStreamingData *streamingData) override |
| called when loading finished | |
Protected Member Functions inherited from Models::PrimitiveNode | |
| virtual void | Unload () override |
| unload data | |
Protected Member Functions inherited from Models::ShaderStateNode | |
| bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) override |
| load shader state | |
Protected Member Functions inherited from Models::ModelNode | |
| virtual void | Discard () |
| discard node | |
Friends | |
| class | Characters::CharacterContext |
Additional Inherited Members | |
Static Public Member Functions inherited from Models::ShaderStateNode | |
| static Util::FixedArray< CoreGraphics::ResourceTableId > | CreateResourceTables () |
| Create resource table. | |
Static Public Attributes inherited from Models::ShaderStateNode | |
| static const uint | NumMaxOffsets = 4 |
Static Protected Attributes inherited from Models::ModelNode | |
| static IndexT | ModelNodeUniqueIdCounter = 0 |
| Models::CharacterSkinNode::CharacterSkinNode | ( | ) |
constructor
|
virtual |
destructor
| void Models::CharacterSkinNode::AddFragment | ( | IndexT | primGroupIndex, |
| const Util::Array< IndexT > & | jointPalette ) |
add a fragment (consisting of a mesh group index and a joint palette)
|
inline |
get joint palette of a fragment
get primitive group index of a fragment
|
inline |
get number of skin fragments
|
overrideprotectedvirtual |
parse data tag (called by loader code)
Reimplemented from Models::PrimitiveNode.
|
overrideprotectedvirtual |
called when loading finished
Reimplemented from Models::PrimitiveNode.
| void Models::CharacterSkinNode::ReserveFragments | ( | SizeT | numFragments | ) |
reserve fragments (call before adding fragments)
|
friend |
|
protected |