Vector3Extensions Methods |
The Vector3Extensions type exposes the following members.
| Name | Description | |
|---|---|---|
| Abs | Make all components positive. | |
| AddX | Add to the X-component and return the vector. | |
| AddY | Add to the Y-component and return the vector. | |
| AddZ | Add to the Z-component and return the vector. | |
| Clamp | Limit the vector between two other vectors. | |
| Copy | Copy values from another instance and return the vector. | |
| CopyX | Copy the X-component and return the vector. | |
| CopyXY | Copy the X & Y components and return the vector. | |
| CopyXZ | Copy the X & Z components and return the vector. | |
| CopyY | Copy the Y-component and return the vector. | |
| CopyYZ | Copy the Y & Z components and return the vector. | |
| CopyZ | Copy the Z-component and return the vector. | |
| InvertX | Invert the X-component and return the vector. | |
| InvertY | Invert the Y-component and return the vector. | |
| InvertZ | Invert the Z-component and return the vector. | |
| Max | Return the largest of the components. | |
| MaxXY | Return the larger of the X & Y components. | |
| MaxXZ | Return the larger of the X & Z components. | |
| MaxYZ | Return the larger of the Y & Z components. | |
| Min | Return the smallest of the components. | |
| MinXY | Return the smaller of the X & Y components. | |
| MinXZ | Return the smaller of the X & Z components. | |
| MinYZ | Return the smaller of the Y & Z components. | |
| Scale | Scale the vector and return it. | |
| ScaleX | Scale the X-component and return the vector. | |
| ScaleY | Scale the Y-component and return the vector. | |
| ScaleZ | Scale the Z-component and return the vector. | |
| SetX | Set the X-component and return the vector. | |
| SetY | Set the Y-component and return the vector. | |
| SetZ | Set the Z-component and return the vector. | |
| SwapXY | Swap the X & Y components and return the vector. | |
| SwapXZ | Swap the X & Z components and return the vector. | |
| SwapYZ | Swap the Y & Z components and return the vector. | |
| ToQuaternion | Make a rotation with the vector as euler angles. | |
| ToVector2 | Convert to Vector2. |