InertiaRotationBehavior2D.DesiredDeceleration 속성

정의

예상 각도 감속(제곱 밀리초당 라디안 단위)을 가져오거나 설정합니다.

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

속성 값

Single

원하는 각도 감속(제곱 밀리초당 라디안 단위)입니다.

설명

이 속성은 관성 작업 중 사용할 원하는 각도 감속을 나타냅니다. 이 속성 값과 함께를 DesiredRotation 속성;이 속성은 설정 하는 설정 DesiredRotationNaN입니다. 이 두 속성에 대 한 기본 값 및 DesiredRotationNaN합니다. 하나 또는 관성 프로세서를 시작 하기 전에 다른 속성을 설정 해야 합니다.

DesiredDeceleration 유한 하 고 음수가 아닌 숫자 여야 합니다.

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

적용 대상