Space Engineers
|
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...
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) |
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.
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.Transform | ( | Matrix | m | ) |
Implemented in VRageRender.Utils.MyPhysicsMesh.