selectbox
A rectangular selection volume.
Signatures
- selectbox( float minX, float maxX, float minY, float maxX, float minZ, float maxZ )
Details
Defines a rectangular axis-aligned space section that can be used as selection input for certain functions.
Example
selectbox s( -1, 3, 0.5, 1.7, -0.5, 2.5 )
echo( s.maxy )
make s
Output
1.7
Casts To
Members
- float minx
-
Allows to read/write the lower boundary in X direction.
- float maxx
-
Allows to read/write the upper boundary in X direction.
- float miny
-
Allows to read/write the lower boundary in Y direction.
- float maxy
-
Allows to read/write the upper boundary in Y direction.
- float minz
-
Allows to read/write the lower boundary in Z direction.
- float maxz
-
Allows to read/write the upper boundary in Z direction.
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
- minX
-
Lower boundary of the selectbox in X direction.
- maxX
-
Upper boundary of the selectbox in X direction.
- minY
-
Lower boundary of the selectbox in Y direction.
- maxY
-
Upper boundary of the selectbox in Y direction.
- minZ
-
Lower boundary of the selectbox in Z direction.
- maxZ
-
Upper boundary of the selectbox in Z direction.