ksgen_value_angle_spherical

generates a single random value drawn from a distribution suitable for randomly distributing polar angles in cylindrical coordinates.

XML element: <ksgen_value_angle_spherical>
C++ type: KSGenValueAngleSpherical
Also available as: theta_spherical
Attributes

Attribute

Type

Description

angle_max

double

the maximum angle in degrees to return. must be greater than zero and greater than angle_max and less than 90.

angle_min

double

the minimum angle in degrees to return. must be greater than zero and less than angle_max and less than 90.

name

string

the name of this value.

Example:

<ksgen_value_angle_spherical name="value_angle_spherical" angle_min="10." angle_max="70."/>

Used as:

Can be referenced by:

More information

Appears in the documentation:

Used in example configurations: