AngleSweepProps Type alias

The properties for a JSON representation of an AngleSweep.

  • The json data is always start and end angles as a pair in an array.
  • If AngleSweepProps data is an array of two numbers, those are both angles in degrees.
  • If AngleSweepProps data is an object with key degrees, then the corresponding value must be an array of two numbers, the start and end angles in degrees.
  • If the AngleSweepProps is an object with key radians, then the corresponding value must be an array of two numbers, the start and end angles in radians.

AngleSweepProps = AngleSweep | { degrees: [number, number] } | { radians: [number, number] } | [number, number]

Defined in

Last Updated: 19 April, 2024