BgfxSetTransform Method (Single, Int32) |
Sets the model transform to use for drawing primitives.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static int SetTransform(
float* matrix,
int count = 1
)
Parameters
- matrix
- Type: SystemSingle*
A pointer to one or more matrices to set. - count (Optional)
- Type: SystemInt32
The number of matrices in the array.
Return Value
Type:
Int32An index into the matrix cache to allow reusing the matrix in other calls.
See Also