set method
set(self, new_x, new_y, new_z)
Sets vector’s xyz components at a time, w will be set to 1
def set(self, new_x, new_y, new_z):
...
| Parameter | Type | Description |
|---|---|---|
| new_x | float | New X component. |
| new_y | float | New Y component. |
| new_z | float | New Z component. |
set(self, new_x, new_y, new_z, new_w)
Sets vector’s all components at a time
def set(self, new_x, new_y, new_z, new_w):
...
| Parameter | Type | Description |
|---|---|---|
| new_x | float | New X component. |
| new_y | float | New Y component. |
| new_z | float | New Z component. |
| new_w | float | New W component. |
See Also
- module
aspose.threed.utilities - class
Vector4