Class Manus::Skeletons::SkeletonData
ClassList > Manus > Skeletons > SkeletonData
Skeleton data holds all data from the skeleton.
Public Attributes
Type | Name |
---|---|
List< Chain > | chains |
List< ColliderSetup > | colliders |
uint | id |
CoreSDK.ManusTimestamp | lastTimestamp |
List< MeshSetup > | meshes |
string | name |
List< Node > | nodes |
CoreSDK.SkeletonSettings | settings |
CoreSDK.SkeletonType | type |
Public Functions
Type | Name |
---|---|
Chain | GetChainWithId (uint p_Id) Fetch specific chain with an ID. |
IList< Node > | GetChildNodesOfNodeWithId (uint p_Id) Fetch children of node ID. |
uint | GetNewChainID () Get new chain ID. |
int | GetNodeDepth (uint p_Id) Go through and count depth of the node. |
Node | GetNodeWithId (uint p_Id) Fetch specific node with an ID. |
Node | GetNodeWithName (string p_Name) Fetch a specific with a name. |
Node | GetNodeWithUnityTransform (Transform p_Transform) Fetch a specific with a specific Unity Transform. |
SkeletonData () |
|
List< Node > | ToNodeList (List< uint > p_NodeIds) Fetch nodes from a node ID list. |
CoreSDK.SkeletonSetupInfo | ToSkeletonSetup () Create skeleton setup for Manus Core. |
Public Attributes Documentation
variable chains
variable colliders
variable id
variable lastTimestamp
variable meshes
variable name
variable nodes
variable settings
variable type
Public Functions Documentation
function GetChainWithId
Fetch specific chain with an ID.
Parameters:
p_Id
ID of the chain
Returns:
Chain with ID or null if not found
function GetChildNodesOfNodeWithId
Fetch children of node ID.
Parameters:
p_Id
ID of node
Returns:
List of child nodes
function GetNewChainID
Get new chain ID.
Returns:
New chain ID
function GetNodeDepth
Go through and count depth of the node.
Parameters:
p_Id
ID of node
Returns:
Depth of the node
function GetNodeWithId
Fetch specific node with an ID.
Parameters:
p_Id
ID of the node
Returns:
Node with ID or null if not found
function GetNodeWithName
Fetch a specific with a name.
Parameters:
p_Name
Name of the node
Returns:
Node with name or null if not found
function GetNodeWithUnityTransform
Fetch a specific with a specific Unity Transform.
Parameters:
p_Transform
Unity Transform
Returns:
Node with name or null if not found
function SkeletonData
function ToNodeList
Fetch nodes from a node ID list.
Parameters:
p_NodeIds
Node IDs
Returns:
List of nodes
function ToSkeletonSetup
Create skeleton setup for Manus Core.
Returns:
Manus core skeleton setup
The documentation for this class was generated from the following file api/unity-plugin/Scripts/Skeletons/SkeletonData.cs