GlobalTransform.Rotation

GlobalTransform.Rotation property

Gets the rotation represented in quaternion.

public Quaternion Rotation { get; }

Examples

Scene scene = Scene.FromFile("test.fbx");
var tr = scene.RootNode.GlobalTransform;
Console.WriteLine($"Rotation = {tr.Rotation}");

See Also