public void SetTransform(TransformationState state, Matrix4 mat) { VideoDriver_SetTransform(_raw, state, mat.ToUnmanaged()); }
public void Transform(Matrix4 mat) { VF_Transform(_raw, mat.ToUnmanaged()); }
/// <summary> /// Applies a transformation. /// </summary> /// <param name="mesh"> /// A mesh to be transformed <see cref="Mesh"/> /// </param> /// <param name="mat"> /// A transform matrix <see cref="Matrix4"/> /// </param> public void TransformMesh(Mesh mesh, Matrix4 mat) { MeshManipulator_TransformMesh(_raw, mesh.Raw, mat.ToUnmanaged()); }