HPL3/Amnesia: Rebirth/Scripting/cSubMesh

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

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

Returns:

  • cMeshCollider@

CreateCollideShape

iCollideShape@ CreateCollideShape(iPhysicsWorld@ apWorld)


Parameters

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

void GetMaterialName(const tString &in asName)


Parameters

Returns:

  • void

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

Returns:

  • void

SetMaterial

void SetMaterial(cMaterial@ apMaterial)


Parameters

Returns:

  • void

SetVertexBuffer

void SetVertexBuffer(iVertexBuffer@ apVtxBuffer)


Parameters

Returns:

  • void

References

See all references...