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 AngleProps data is an array of two numbers, it is an angle in degrees. If the AngleProps is an object with key degrees, the degrees value must be an array with the two degrees angles as numbers If the AngleProps is an object with key radians, the radians value must be an array with the two radians angles as numbers

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

Defined in

Last Updated: 12 June, 2024