|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| ModelBone | FindBone (string name, bool throwIfNotFound=true) |
| ModelMesh | FindMesh (string name, bool throwIfNotFound=true) |
| ModelBone | NewBone (string name, Matrix transform, ModelBone parentBone) |
| void | AddMesh (ModelMesh mesh) |
| ModelMesh | NewMesh (string name, ModelBone parentBone, BoundingBox boundingBox) |
| void | CopyAbsoluteBoneTransformsTo (Matrix[] absoluteTransforms) |
| void | CopyAbsoluteBoneTransformsTo (Matrix[] absoluteTransforms, Matrix matrix) |
| BoundingBox | CalculateAbsoluteBoundingBox (Matrix[] absoluteTransforms) |
| void | Dispose () |
静态 Public 成员函数 | |
| static Model | Load (ModelData modelData, bool keepSourceVertexDataInTags=false) |
| static Model | Load (Stream stream, bool keepSourceVertexDataInTags=false) |
| static Model | Load (string fileName, bool keepSourceVertexDataInTags=false) |
Public 属性 | |
| ModelBone | m_rootBone |
| List< ModelBone > | m_bones = [] |
| List< ModelMesh > | m_meshes = [] |
包函数 | |
| void | Initialize (ModelData modelData, bool keepSourceVertexDataInTags) |
属性 | |
| ModelBone | RootBone [get] |
| ReadOnlyList< ModelBone > | Bones [get] |
| ReadOnlyList< ModelMesh > | Meshes [get] |
| ModelData | ModelData [get, set] |
Private 成员函数 | |
| void | InternalDispose () |
| BoundingBox Engine.Graphics.Model.CalculateAbsoluteBoundingBox | ( | Matrix[] | absoluteTransforms | ) |
| void Engine.Graphics.Model.CopyAbsoluteBoneTransformsTo | ( | Matrix[] | absoluteTransforms | ) |
| ModelBone Engine.Graphics.Model.FindBone | ( | string | name, |
| bool | throwIfNotFound = true ) |
| ModelMesh Engine.Graphics.Model.FindMesh | ( | string | name, |
| bool | throwIfNotFound = true ) |
|
package |
|
static |
|
static |
| ModelMesh Engine.Graphics.Model.NewMesh | ( | string | name, |
| ModelBone | parentBone, | ||
| BoundingBox | boundingBox ) |