Show / Hide Table of Contents

Class MyExportModel

Inheritance
System.Object
MyExportModel
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
public class MyExportModel : Object

Constructors

MyExportModel(MyModel)

Declaration
public MyExportModel(MyModel model)
Parameters
Type Name Description
VRage.Game.Models.MyModel model

Properties

PatternScale

Declaration
public float PatternScale { get; }
Property Value
Type Description
System.Single

Methods

GetMaterials()

Declaration
public List<MyExportModel.Material> GetMaterials()
Returns
Type Description
System.Collections.Generic.List<MyExportModel.Material>

GetTexCoords()

Declaration
public HalfVector2[] GetTexCoords()
Returns
Type Description
VRageMath.PackedVector.HalfVector2[]

GetTriangle(Int32)

Declaration
public MyTriangleVertexIndices GetTriangle(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
VRage.Game.Models.MyTriangleVertexIndices

GetTrianglesCount()

Declaration
public int GetTrianglesCount()
Returns
Type Description
System.Int32

GetVertex(Int32)

Declaration
public Vector3 GetVertex(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
Vector3

GetVerticesCount()

Declaration
public int GetVerticesCount()
Returns
Type Description
System.Int32
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾