InertiaRotationBehavior2D.InitialVelocity 속성

정의

초기 회전 속도를 밀리초당 라디안 단위로 가져오거나 설정합니다.

public:
 property float InitialVelocity { float get(); void set(float value); };
public float InitialVelocity { get; set; }
member this.InitialVelocity : single with get, set
Public Property InitialVelocity As Single

속성 값

초기 회전 속도(밀리초당 라디안)입니다.

설명

이 속성의 기본값은 .입니다 NaN. 이 속성을 기본값에서 변경하지 않고 그대로 두거나 이 속성을 0으로 설정하면 회전 관성은 비활성화됩니다.

관성 프로세서가 실행되는 동안에는 이 속성을 설정할 수 없습니다. 그렇지 않으면 예외가 throw됩니다.

적용 대상