GlobalTransform.Rotation

GlobalTransform.Rotation property

获取以四元数表示的旋转。

public Quaternion Rotation { get; }

示例

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

另请参见