HPL3/Amnesia: Rebirth/Scripting/cMesh
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 AddAnimation
- 3.2 AddNode
- 3.3 ClearAnimations
- 3.4 CompileBonesAndSubMeshes
- 3.5 CreateSubMesh
- 3.6 GetAnimation
- 3.7 GetAnimationFromName
- 3.8 GetAnimationIndex
- 3.9 GetAnimationNum
- 3.10 GetBoneBoundingRadius
- 3.11 GetNode
- 3.12 GetNodeByName
- 3.13 GetNodeNum
- 3.14 GetRootNode
- 3.15 GetSkeleton
- 3.16 GetSubMesh
- 3.17 GetSubMeshIndex
- 3.18 GetSubMeshName
- 3.19 GetSubMeshNum
- 3.20 GetTriangleCount
- 3.21 SetSkeleton
- 4 References
Fields
cMesh has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | AddAnimation(cAnimation@ apAnimation) |
void | AddNode(cNode3D@ apNode) |
void | ClearAnimations(bool abDeleteAll) |
void | CompileBonesAndSubMeshes() |
cSubMesh | CreateSubMesh(const tString &in asName) |
cAnimation | GetAnimation(int alIndex) |
cAnimation | GetAnimationFromName(const tString &in asName) |
int | GetAnimationIndex(const tString &in asName) |
int | GetAnimationNum() |
float | GetBoneBoundingRadius(int alIdx) |
cNode3D | GetNode(int alIdx) |
cNode3D | GetNodeByName(const tString &in asName) |
int | GetNodeNum() |
cNode3D | GetRootNode() |
cSkeleton | GetSkeleton() |
cSubMesh | GetSubMesh(uint alIdx) |
int | GetSubMeshIndex(const tString &in asName) |
cSubMesh | GetSubMeshName(const tString &in asName) |
int | GetSubMeshNum() |
int | GetTriangleCount() |
void | SetSkeleton(cSkeleton@ apSkeleton) |
Details
AddAnimation
AddNode
ClearAnimations
void ClearAnimations(bool abDeleteAll)
Parameters
- abDeleteAll (bool) —
Returns:
- void
CompileBonesAndSubMeshes
void CompileBonesAndSubMeshes()
Returns:
- void
CreateSubMesh
GetAnimation
cAnimation@ GetAnimation(int alIndex)
Parameters
- alIndex (int) —
Returns:
- cAnimation@—
GetAnimationFromName
cAnimation@ GetAnimationFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cAnimation@—
GetAnimationIndex
GetAnimationNum
int GetAnimationNum()
Returns:
- int—
GetBoneBoundingRadius
float GetBoneBoundingRadius(int alIdx)
Parameters
- alIdx (int) —
Returns:
- float—
GetNode
cNode3D@ GetNode(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cNode3D@—
GetNodeByName
GetNodeNum
int GetNodeNum()
Returns:
- int—
GetRootNode
cNode3D@ GetRootNode()
Returns:
- cNode3D@—
GetSkeleton
cSkeleton@ GetSkeleton()
Returns:
- cSkeleton@—
GetSubMesh
cSubMesh@ GetSubMesh(uint alIdx)
Parameters
- alIdx (uint) —
Returns:
- cSubMesh@—
GetSubMeshIndex
GetSubMeshName
cSubMesh@ GetSubMeshName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cSubMesh@—
GetSubMeshNum
int GetSubMeshNum()
Returns:
- int—
GetTriangleCount
int GetTriangleCount()
Returns:
- int—