HPL3/Amnesia: Rebirth/Scripting/cSubMesh
< 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 Compile
- 3.2 CreateCollider
- 3.3 CreateCollideShape
- 3.4 GetCollider
- 3.5 GetColliderNum
- 3.6 GetLocalTransform
- 3.7 GetMaterial
- 3.8 GetMaterialName
- 3.9 GetMaterialName
- 3.10 GetModelScale
- 3.11 GetName
- 3.12 GetVertexBuffer
- 3.13 IsCollideShape
- 3.14 SetIsCollideShape
- 3.15 SetLocalTransform
- 3.16 SetMaterial
- 3.17 SetVertexBuffer
- 4 References
Fields
cSubMesh has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | Compile() |
cMeshCollider | CreateCollider(eCollideShapeType aType) |
iCollideShape | CreateCollideShape(iPhysicsWorld@ apWorld) |
cMeshCollider | GetCollider(int alIdx) |
int | GetColliderNum() |
cMatrixf | GetLocalTransform() |
cMaterial | GetMaterial() |
void | GetMaterialName(const tString &in asName) |
tString | GetMaterialName() |
cVector3f | GetModelScale() |
tString | GetName() |
iVertexBuffer | GetVertexBuffer() |
bool | IsCollideShape() |
void | SetIsCollideShape(bool abX) |
void | SetLocalTransform(const cMatrixf &in a_mtxTrans) |
void | SetMaterial(cMaterial@ apMaterial) |
void | SetVertexBuffer(iVertexBuffer@ apVtxBuffer) |
Details
Compile
void Compile()
Returns:
- void
CreateCollider
cMeshCollider@ CreateCollider(eCollideShapeType aType)
Parameters
- aType (eCollideShapeType) —
Returns:
- cMeshCollider@—
CreateCollideShape
iCollideShape@ CreateCollideShape(iPhysicsWorld@ apWorld)
Parameters
- apWorld (iPhysicsWorld@) —
Returns:
- iCollideShape@—
GetCollider
cMeshCollider@ GetCollider(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cMeshCollider@—
GetColliderNum
int GetColliderNum()
Returns:
- int—
GetLocalTransform
const cMatrixf& GetLocalTransform()
Returns:
- const cMatrixf&—
GetMaterial
cMaterial@ GetMaterial()
Returns:
- cMaterial@—
GetMaterialName
GetMaterialName
const tString& GetMaterialName()
Returns:
- const tString&—
GetModelScale
cVector3f GetModelScale()
Returns:
- cVector3f—
GetName
const tString& GetName()
Returns:
- const tString&—
GetVertexBuffer
iVertexBuffer@ GetVertexBuffer()
Returns:
- iVertexBuffer@—
IsCollideShape
bool IsCollideShape()
Returns:
- bool—
SetIsCollideShape
void SetIsCollideShape(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetLocalTransform
void SetLocalTransform(const cMatrixf &in a_mtxTrans)
Parameters
- a_mtxTrans (cMatrixf) —
Returns:
- void
SetMaterial
SetVertexBuffer
void SetVertexBuffer(iVertexBuffer@ apVtxBuffer)
Parameters
- apVtxBuffer (iVertexBuffer@) —
Returns:
- void