open
selectsphere
A spherical selection volume.
Signatures
- selectsphere( float radius, vector position )
Details
Defines a spherical space section that can be used as selection input for certain functions.
Example
selectsphere s( 0.5, <[2.5, 2.5, 2.5]> )
make s
Casts To
Optional Open Parameter Attributes
- bool readonly
-
Tells the user interface or frontend to disable the setting of the open parameter.
- string style
-
Specifies some limited styling instructions for the user interface or frontend.
- int expose_opar
-
Controls the visibility state of the open parameter. Possible values are -1 (do not expose), 0 (expose when requested) and +1 (expose).
Parameters
- radius
-
The radius of the selectsphere.
- position
-
The center position of the selectsphere.