|
MeshGetDataChannel(MeshDataChannelTypes) Method |
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).
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public virtual Object? GetDataChannel(
MeshDataChannelTypes channelType
)
Parameters
- channelType MeshDataChannelTypes
- channel type
Return Value
Objectobject with the data from the specified channel
See Also