set Angle Unit
Sets the unit in which angles are interpreted on the current scene: the values of every angle property for BlockApi.setFloat / BlockApi.getFloat (rotation, transform/skew, effect/linear_wipe/angle, ...), their keyframe values, and BlockApi.setRotation / BlockApi.getRotation. The engine stores angles in radians and scene files keep their format; this only affects how values are interpreted at the API boundary. AngleUnit.RADIAN is the default.
CE.SDK uses radians for every angle property in memory and in the API. The AngleUnit.DEGREE unit is a compatibility option for older integrations, and the CE.SDK editor UI expects radians. motionBlur/shutterAngle, motionBlur/shutterPhase and the rotate action take degrees in either unit. Changing the unit also converts a number variable bound only to angle properties.
Parameters
the new angle unit of the scene.