| TriMesh Methods |
The TriMesh type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginVertex |
Begin adding vertex
| |
| EndVertex |
End adding vertex
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| FindProperty |
Finds the property.
It can be a dynamic property (Created by CreateDynamicProperty/SetProperty)
or native property(Identified by its name)
(Inherited from A3DObject.) | |
| FromMesh(Mesh, Boolean) |
Create a TriMesh from given mesh object, the vertex declaration are based on the input mesh's structure.
| |
| FromMesh(VertexDeclaration, Mesh) |
Create a TriMesh from given mesh object with given vertex layout.
| |
| GetBoundingBox |
Gets the bounding box of current entity in its object space coordinate system.
(Inherited from Entity.) | |
| GetEntityRendererKey |
Gets the key of the entity renderer registered in the renderer
(Inherited from Entity.) | |
| GetHashCode | (Inherited from Object.) | |
| GetProperty |
Get the value of specified property
(Inherited from A3DObject.) | |
| GetType | (Inherited from Object.) | |
| IndicesToArray(Int32) |
Convert the indices to 32bit integer array
| |
| IndicesToArray(UInt16) |
Convert the indices to 16bit integer array
| |
| MemberwiseClone | (Inherited from Object.) | |
| RemoveProperty(String) |
Remove the specified property identified by name
(Inherited from A3DObject.) | |
| RemoveProperty(Property) |
Removes a dynamic property.
(Inherited from A3DObject.) | |
| SetProperty |
Sets the value of specified property
(Inherited from A3DObject.) | |
| ToString |
Gets the string representation of TriMesh (Overrides ObjectToString.) | |
| VerticesToArray |
Convert the vertices data to byte array
| |
| Write16bIndicesTo |
Write the indices data as 16bit integer to the stream
| |
| Write32bIndicesTo |
Write the indices data as 32bit integer to the stream
| |
| WriteVerticesTo |
Write vertices data to the specified stream
|