Click or drag to resize
Ab4d.SharpEngine logo

GeometryMesh Methods

The GeometryMesh type exposes the following members.

Methods
 NameDescription
Public methodGetDataChannel GetDataChannel returns an object with the data from the specified channel. For example, for Positions an array of Vector3 is returned with positions defined by this mesh. Executing this method may take some time because the method may need to create new array objects and copy data from some other data structure (for example an array of PositionNormalTextureVertex values).
(Overrides TriangleMeshTGetDataChannel(MeshDataChannelTypes))
Protected methodOnUpdateMesh OnUpdateMesh
(Overrides TriangleMeshTOnUpdateMesh(Boolean))
Public methodUpdateBoundingBox UpdateBoundingBox method calculates the BoundingBox from the Vertices.
(Overrides TriangleMeshTUpdateBoundingBox)
Public methodUpdateNormals UpdateNormals method calculates the normals from the positions and triangle indices.
Top
See Also