TriMesh Methods

The TriMesh type exposes the following members.

Methods
  NameDescription
Public methodBeginVertex
Begin adding vertex
Public methodEndVertex
End adding vertex
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindProperty
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
(Inherited from A3DObject.)
Public methodStatic memberFromMesh(Mesh, Boolean)
Create a TriMesh from given mesh object, the vertex declaration are based on the input mesh's structure.
Public methodStatic memberFromMesh(VertexDeclaration, Mesh)
Create a TriMesh from given mesh object with given vertex layout.
Public methodGetBoundingBox
Gets the bounding box of current entity in its object space coordinate system.
(Inherited from Entity.)
Public methodGetEntityRendererKey
Gets the key of the entity renderer registered in the renderer
(Inherited from Entity.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty
Get the value of specified property
(Inherited from A3DObject.)
Public methodGetType (Inherited from Object.)
Public methodIndicesToArray(Int32)
Convert the indices to 32bit integer array
Public methodIndicesToArray(UInt16)
Convert the indices to 16bit integer array
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveProperty(String)
Remove the specified property identified by name
(Inherited from A3DObject.)
Public methodRemoveProperty(Property)
Removes a dynamic property.
(Inherited from A3DObject.)
Public methodSetProperty
Sets the value of specified property
(Inherited from A3DObject.)
Public methodToString
Gets the string representation of TriMesh
(Overrides ObjectToString.)
Public methodVerticesToArray
Convert the vertices data to byte array
Public methodWrite16bIndicesTo
Write the indices data as 16bit integer to the stream
Public methodWrite32bIndicesTo
Write the indices data as 32bit integer to the stream
Public methodWriteVerticesTo
Write vertices data to the specified stream
See Also