TriMesh Methods

The TriMesh type exposes the following members.

Methods
  NameDescription
Public methodBeginVertex
Begin adding vertex
Public methodStatic memberCopyFrom
Copy the TriMesh from input with new vertex layout
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 methodStatic memberFromRawData
Create TriMesh from raw data
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 methodGetEnumerator
Get the enumerator to enumerate Vertex
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty
Get the value of specified property
(Inherited from A3DObject.)
Public methodGetType (Inherited from Object.)
Public methodIndicesToArray(Int32)
Public methodIndicesToArray(UInt16)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadDouble
Read the double field
Public methodReadFloat
Read the float field
Public methodReadFVector2
Read the vector2 field
Public methodReadFVector3
Read the vector3 field
Public methodReadFVector4
Read the vector4 field
Public methodReadVector2
Read the vector2 field
Public methodReadVector3
Read the vector3 field
Public methodReadVector4
Read the vector4 field
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