maxon.IntVector32¶
Description¶
A vector consisting of three components X, Y and Z.
Attributes¶
Methods Definition¶
-
IntVector32.
__init__
(x=None, y=None, z=None)¶ - Initializes a new three component vector.It is possible to instantiate a new vector without any arguments, causing the x, y, zcomponents to default to the value 0. The type can otherwise be instantiated with one orthree arguments, either setting all components to the same value or copying another
maxon.Vec3
instance, or setting all three components individually.- ..note:
This type should not be instantiated directly, use instead the type
maxon.Vector
.
- Parameters
x (Optional[
maxon.Vec4
, float]) – If x is the only passed argument. If this is a float set this value to X/Y/Z components. If this is a vector, this vector is copied.y (float) – The z component. Can only be passed if z is also defined.
z (float) – The z component