Space Engineers
Public Member Functions | List of all members
Havok.IPhysicsMesh Interface Reference

Interface through which physics can work with graphical meshes. This has been moved here due to problems with obfuscator and to reduce dependencies of Havok! You should treat this as part of HavokWrapper (not accessible when there is no reference to HavokWrapper)! Exception to this can only be rare cases such as avoiding code duplication. More...

Inheritance diagram for Havok.IPhysicsMesh:
VRageRender.Utils.MyPhysicsMesh

Public Member Functions

void SetAABB (Vector3 min, Vector3 max)
 
void AddSectionData (int indexStart, int triCount, String materialName)
 
void AddIndex (int index)
 
void AddVertex (Vector3 position, Vector3 normal, Vector3 tangent, Vector2 texCoord)
 
int GetSectionsCount ()
 
bool GetSectionData (int idx, ref int indexStart, ref int triCount, ref String matIdx)
 
int GetIndicesCount ()
 
int GetIndex (int idx)
 
int GetVerticesCount ()
 
bool GetVertex (int vertexId, ref Vector3 position, ref Vector3 normal, ref Vector3 tangent, ref Vector2 texCoord)
 
void Transform (Matrix m)
 

Detailed Description

Interface through which physics can work with graphical meshes. This has been moved here due to problems with obfuscator and to reduce dependencies of Havok! You should treat this as part of HavokWrapper (not accessible when there is no reference to HavokWrapper)! Exception to this can only be rare cases such as avoiding code duplication.

Definition at line 15 of file IPhysicsMesh.cs.

Member Function Documentation

void Havok.IPhysicsMesh.AddIndex ( int  index)
void Havok.IPhysicsMesh.AddSectionData ( int  indexStart,
int  triCount,
String  materialName 
)
void Havok.IPhysicsMesh.AddVertex ( Vector3  position,
Vector3  normal,
Vector3  tangent,
Vector2  texCoord 
)
int Havok.IPhysicsMesh.GetIndex ( int  idx)
int Havok.IPhysicsMesh.GetIndicesCount ( )
bool Havok.IPhysicsMesh.GetSectionData ( int  idx,
ref int  indexStart,
ref int  triCount,
ref String  matIdx 
)
int Havok.IPhysicsMesh.GetSectionsCount ( )
bool Havok.IPhysicsMesh.GetVertex ( int  vertexId,
ref Vector3  position,
ref Vector3  normal,
ref Vector3  tangent,
ref Vector2  texCoord 
)
int Havok.IPhysicsMesh.GetVerticesCount ( )
void Havok.IPhysicsMesh.SetAABB ( Vector3  min,
Vector3  max 
)
void Havok.IPhysicsMesh.Transform ( Matrix  m)

The documentation for this interface was generated from the following file: