Click or drag to resize
Ab4d.SharpEngine logo

MeshGetDataChannel Method

Overload List
 NameDescription
Public methodGetDataChannel(MeshDataChannelTypes) 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).
Public methodGetDataChannelT(MeshDataChannelTypes) 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. When the type of the data does not match the specified type T, then ArgumentException is thrown. 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).
Top
See Also