|
Vector3 | GetVertexInt (int vertexIndex) |
|
MyTriangleVertexIndices | GetTriangle (int triangleIndex) |
|
Vector3 | GetVertex (int vertexIndex) |
|
void | SetVertexPosition (int vertexIndex, ref Vector3 newPosition) |
|
void | GetVertex (int vertexIndex1, int vertexIndex2, int vertexIndex3, out Vector3 v1, out Vector3 v2, out Vector3 v3) |
|
MyTriangle_BoneIndicesWeigths | GetBoneIndicesWeights (int triangleIndex) |
|
Vector3 | GetVertexNormal (int vertexIndex) |
|
Vector3 | GetVertexTangent (int vertexIndex) |
|
| MyModel (string assetName) |
|
| MyModel (string assetName, bool keepInMemory) |
| c-tor - this constructor should be used just for max models - not voxels! More...
|
|
List< MyMesh > | GetMeshList () |
|
MyMeshSection | GetMeshSection (string name) |
|
bool | TryGetMeshSection (string name, out MyMeshSection section) |
|
void | LoadData () |
|
bool | LoadTexCoordData () |
|
void | LoadAnimationData () |
|
bool | UnloadData () |
|
IMyTriangePruningStructure | GetTrianglePruningStructure () |
|
void | GetTriangleBoundingBox (int triangleIndex, ref BoundingBox boundingBox) |
|
int | GetTrianglesCount () |
|
int | GetVerticesCount () |
|
int | GetBVHSize () |
|
MyMeshDrawTechnique | GetDrawTechnique (int triangleIndex) |
|
void | Dispose () |
| Dispose More...
|
|
void | LoadOnlyDummies () |
|
void | LoadOnlyModelInfo () |
|
void | CheckLoadingErrors (MyModContext context, out bool errorFound) |
|
void | Rescale (float scaleFactor) |
|
|
static string | GetById (int id) |
|
static int | GetId (string assetName) |
|
Definition at line 50 of file MyModel.cs.
VRage.Game.Models.MyModel.MyModel |
( |
string |
assetName | ) |
|
|
inline |
VRage.Game.Models.MyModel.MyModel |
( |
string |
assetName, |
|
|
bool |
keepInMemory |
|
) |
| |
|
inline |
c-tor - this constructor should be used just for max models - not voxels!
Definition at line 313 of file MyModel.cs.
void VRage.Game.Models.MyModel.CheckLoadingErrors |
( |
MyModContext |
context, |
|
|
out bool |
errorFound |
|
) |
| |
|
inline |
void VRage.Game.Models.MyModel.Dispose |
( |
| ) |
|
|
inline |
int VRage.Game.Models.MyModel.GetBVHSize |
( |
| ) |
|
|
inline |
static string VRage.Game.Models.MyModel.GetById |
( |
int |
id | ) |
|
|
inlinestatic |
static int VRage.Game.Models.MyModel.GetId |
( |
string |
assetName | ) |
|
|
inlinestatic |
List<MyMesh> VRage.Game.Models.MyModel.GetMeshList |
( |
| ) |
|
|
inline |
MyMeshSection VRage.Game.Models.MyModel.GetMeshSection |
( |
string |
name | ) |
|
|
inline |
void VRage.Game.Models.MyModel.GetTriangleBoundingBox |
( |
int |
triangleIndex, |
|
|
ref BoundingBox |
boundingBox |
|
) |
| |
|
inline |
int VRage.Game.Models.MyModel.GetTrianglesCount |
( |
| ) |
|
|
inline |
Vector3 VRage.Game.Models.MyModel.GetVertex |
( |
int |
vertexIndex | ) |
|
|
inline |
void VRage.Game.Models.MyModel.GetVertex |
( |
int |
vertexIndex1, |
|
|
int |
vertexIndex2, |
|
|
int |
vertexIndex3, |
|
|
out Vector3 |
v1, |
|
|
out Vector3 |
v2, |
|
|
out Vector3 |
v3 |
|
) |
| |
|
inline |
Vector3 VRage.Game.Models.MyModel.GetVertexInt |
( |
int |
vertexIndex | ) |
|
|
inline |
Vector3 VRage.Game.Models.MyModel.GetVertexNormal |
( |
int |
vertexIndex | ) |
|
|
inline |
Vector3 VRage.Game.Models.MyModel.GetVertexTangent |
( |
int |
vertexIndex | ) |
|
|
inline |
int VRage.Game.Models.MyModel.GetVerticesCount |
( |
| ) |
|
|
inline |
void VRage.Game.Models.MyModel.LoadAnimationData |
( |
| ) |
|
|
inline |
void VRage.Game.Models.MyModel.LoadData |
( |
| ) |
|
|
inline |
void VRage.Game.Models.MyModel.LoadOnlyDummies |
( |
| ) |
|
|
inline |
void VRage.Game.Models.MyModel.LoadOnlyModelInfo |
( |
| ) |
|
|
inline |
bool VRage.Game.Models.MyModel.LoadTexCoordData |
( |
| ) |
|
|
inline |
void VRage.Game.Models.MyModel.Rescale |
( |
float |
scaleFactor | ) |
|
|
inline |
void VRage.Game.Models.MyModel.SetVertexPosition |
( |
int |
vertexIndex, |
|
|
ref Vector3 |
newPosition |
|
) |
| |
|
inline |
bool VRage.Game.Models.MyModel.TryGetMeshSection |
( |
string |
name, |
|
|
out MyMeshSection |
section |
|
) |
| |
|
inline |
bool VRage.Game.Models.MyModel.UnloadData |
( |
| ) |
|
|
inline |
Dictionary<string, MyModelDummy> VRage.Game.Models.MyModel.Dummies |
bool VRage.Game.Models.MyModel.ExportedWrong |
HkdBreakableShape [] VRage.Game.Models.MyModel.HavokBreakableShapes |
HkShape [] VRage.Game.Models.MyModel.HavokCollisionShapes |
byte [] VRage.Game.Models.MyModel.HavokData |
byte [] VRage.Game.Models.MyModel.HavokDestructionData |
bool VRage.Game.Models.MyModel.m_loadUV = false |
float VRage.Game.Models.MyModel.PatternScale = 1 |
readonly int VRage.Game.Models.MyModel.UniqueId |
string VRage.Game.Models.MyModel.AssetName |
|
get |
File path of the model
Definition at line 182 of file MyModel.cs.
Vector3 VRage.Game.Models.MyModel.BoundingBoxSize |
|
get |
Vector3 VRage.Game.Models.MyModel.BoundingBoxSizeHalf |
|
get |
int VRage.Game.Models.MyModel.DataVersion |
|
get |
bool VRage.Game.Models.MyModel.HasUV |
|
get |
int [] VRage.Game.Models.MyModel.Indices |
|
get |
ushort [] VRage.Game.Models.MyModel.Indices16 |
|
get |
bool VRage.Game.Models.MyModel.KeepInMemory |
|
get |
bool VRage.Game.Models.MyModel.LoadedData |
|
get |
bool VRage.Game.Models.MyModel.LoadUV |
|
set |
float VRage.Game.Models.MyModel.ScaleFactor |
|
get |
The documentation for this class was generated from the following file: