Click or drag to resize

Vector3Extensions Class

Vector3 extensions.
Inheritance Hierarchy
SystemObject
  KitVector3Extensions

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static class Vector3Extensions
Request Example View Source

The Vector3Extensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAbs
Make all components positive.
Public methodStatic memberAddX
Add to the X-component and return the vector.
Public methodStatic memberAddY
Add to the Y-component and return the vector.
Public methodStatic memberAddZ
Add to the Z-component and return the vector.
Public methodStatic memberClamp
Limit the vector between two other vectors.
Public methodStatic memberCopy
Copy values from another instance and return the vector.
Public methodStatic memberCopyX
Copy the X-component and return the vector.
Public methodStatic memberCopyXY
Copy the X & Y components and return the vector.
Public methodStatic memberCopyXZ
Copy the X & Z components and return the vector.
Public methodStatic memberCopyY
Copy the Y-component and return the vector.
Public methodStatic memberCopyYZ
Copy the Y & Z components and return the vector.
Public methodStatic memberCopyZ
Copy the Z-component and return the vector.
Public methodStatic memberInvertX
Invert the X-component and return the vector.
Public methodStatic memberInvertY
Invert the Y-component and return the vector.
Public methodStatic memberInvertZ
Invert the Z-component and return the vector.
Public methodStatic memberMax
Return the largest of the components.
Public methodStatic memberMaxXY
Return the larger of the X & Y components.
Public methodStatic memberMaxXZ
Return the larger of the X & Z components.
Public methodStatic memberMaxYZ
Return the larger of the Y & Z components.
Public methodStatic memberMin
Return the smallest of the components.
Public methodStatic memberMinXY
Return the smaller of the X & Y components.
Public methodStatic memberMinXZ
Return the smaller of the X & Z components.
Public methodStatic memberMinYZ
Return the smaller of the Y & Z components.
Public methodStatic memberScale
Scale the vector and return it.
Public methodStatic memberScaleX
Scale the X-component and return the vector.
Public methodStatic memberScaleY
Scale the Y-component and return the vector.
Public methodStatic memberScaleZ
Scale the Z-component and return the vector.
Public methodStatic memberSetX
Set the X-component and return the vector.
Public methodStatic memberSetY
Set the Y-component and return the vector.
Public methodStatic memberSetZ
Set the Z-component and return the vector.
Public methodStatic memberSwapXY
Swap the X & Y components and return the vector.
Public methodStatic memberSwapXZ
Swap the X & Z components and return the vector.
Public methodStatic memberSwapYZ
Swap the Y & Z components and return the vector.
Public methodStatic memberToQuaternion
Make a rotation with the vector as euler angles.
Public methodStatic memberToVector2
Convert to Vector2.
Top
See Also

Reference