기술 자료

Unity Engine

Unity Engine

FromRadians(float)

Create a rotation with the specified rotation, in radians. See PhysicsRotate.FromDegrees.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsRotate FromRadians(float radians)

Parameters

radians

The rotation angle specified, in radians.

Returns

Type

Description

PhysicsRotateThe rotation represented by the specified rotation, in radians.