본문으로 건너뛰기

RotationAxis

public Axis RotationAxis { get; set; }

축 기준 회전을 위한 기준 축

Returns​

TypeDescription
Axis

Examples​

// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;

public void Example()
{
// 기준 축을 X축으로 바꾸고, 지정된 각도만큼 회전합니다.
vizcore3dx.View.RotationAxis = VIZCore3DX.NET.Data.Axis.X;
vizcore3dx.View.RotationAngle = 45.0f;

vizcore3dx.View.RotateCameraByAxis(
vizcore3dx.View.RotationAxis
, VIZCore3DX.NET.Data.Directions.MINUS
, vizcore3dx.View.RotationAngle);
}