Click or drag to resize
Ab4d.SharpEngine logo

PositionsMeshGetDataChannel 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.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public override Object? GetDataChannel(
	MeshDataChannelTypes channelType
)

Parameters

channelType  MeshDataChannelTypes
channel type

Return Value

Object
object with the data from the specified channel
See Also