Method | Description | |
---|---|---|
AddVectorLength ( Vector3 vector, float size ) : Vector3 | ||
AngleVectorPlane ( Vector3 vector, Vector3 normal ) : float | ||
ClosestPointsOnTwoLines ( Vector3 &closestPointLine1, Vector3 &closestPointLine2, Vector3 linePoint1, Vector3 lineVec1, Vector3 linePoint2, Vector3 lineVec2 ) : bool | ||
DotProductAngle ( Vector3 vec1, Vector3 vec2 ) : float | ||
GetForwardVector ( Quaternion q ) : Vector3 | ||
GetRightVector ( Quaternion q ) : Vector3 | ||
GetUpVector ( Quaternion q ) : Vector3 | ||
Init ( ) : void | ||
LineLineIntersection ( Vector3 &intersection, Vector3 linePoint1, Vector3 lineVec1, Vector3 linePoint2, Vector3 lineVec2 ) : bool | ||
LinePlaneIntersection ( Vector3 &intersection, Vector3 linePoint, Vector3 lineVec, Vector3 planeNormal, Vector3 planePoint ) : bool | ||
LookRotationExtended ( GameObject &gameObjectInOut, Vector3 alignWithVector, Vector3 alignWithNormal, Vector3 customForward, Vector3 customUp ) : void | ||
PlaneFrom3Points ( Vector3 &planeNormal, Vector3 &planePoint, Vector3 pointA, Vector3 pointB, Vector3 pointC ) : void | ||
PlanePlaneIntersection ( Vector3 &linePoint, Vector3 &lineVec, Vector3 plane1Normal, Vector3 plane1Position, Vector3 plane2Normal, Vector3 plane2Position ) : bool | ||
PositionFromMatrix ( Matrix4x4 m ) : Vector3 | ||
PreciseAlign ( GameObject &gameObjectInOut, Vector3 alignWithVector, Vector3 alignWithNormal, Vector3 alignWithPosition, Vector3 triangleForward, Vector3 triangleNormal, Vector3 trianglePosition ) : void | ||
ProjectPointOnLine ( Vector3 linePoint, Vector3 lineVec, Vector3 point ) : Vector3 | ||
ProjectPointOnPlane ( Vector3 planeNormal, Vector3 planePoint, Vector3 point ) : Vector3 | ||
ProjectVectorOnPlane ( Vector3 planeNormal, Vector3 vector ) : Vector3 | ||
QuaternionFromMatrix ( Matrix4x4 m ) : Quaternion | ||
SetVectorLength ( Vector3 vector, float size ) : Vector3 | ||
SignedDistancePlanePoint ( Vector3 planeNormal, Vector3 planePoint, Vector3 point ) : float | ||
SignedDotProduct ( Vector3 vectorA, Vector3 vectorB, Vector3 normal ) : float | ||
SubtractRotation ( Quaternion B, Quaternion A ) : Quaternion | ||
TransformWithParent ( Quaternion &childRotation, Vector3 &childPosition, Quaternion parentRotation, Vector3 parentPosition, Quaternion startParentRotation, Vector3 startParentPosition, Quaternion startChildRotation, Vector3 startChildPosition ) : void | ||
VectorsToTransform ( GameObject &gameObjectInOut, Vector3 positionVector, Vector3 directionVector, Vector3 normalVector ) : void |
public static AddVectorLength ( Vector3 vector, float size ) : Vector3 | ||
vector | Vector3 | |
size | float | |
return | Vector3 |
public static AngleVectorPlane ( Vector3 vector, Vector3 normal ) : float | ||
vector | Vector3 | |
normal | Vector3 | |
return | float |
public static ClosestPointsOnTwoLines ( Vector3 &closestPointLine1, Vector3 &closestPointLine2, Vector3 linePoint1, Vector3 lineVec1, Vector3 linePoint2, Vector3 lineVec2 ) : bool | ||
closestPointLine1 | Vector3 | |
closestPointLine2 | Vector3 | |
linePoint1 | Vector3 | |
lineVec1 | Vector3 | |
linePoint2 | Vector3 | |
lineVec2 | Vector3 | |
return | bool |
public static DotProductAngle ( Vector3 vec1, Vector3 vec2 ) : float | ||
vec1 | Vector3 | |
vec2 | Vector3 | |
return | float |
public static GetForwardVector ( Quaternion q ) : Vector3 | ||
q | Quaternion | |
return | Vector3 |
public static GetRightVector ( Quaternion q ) : Vector3 | ||
q | Quaternion | |
return | Vector3 |
public static GetUpVector ( Quaternion q ) : Vector3 | ||
q | Quaternion | |
return | Vector3 |
public static LineLineIntersection ( Vector3 &intersection, Vector3 linePoint1, Vector3 lineVec1, Vector3 linePoint2, Vector3 lineVec2 ) : bool | ||
intersection | Vector3 | |
linePoint1 | Vector3 | |
lineVec1 | Vector3 | |
linePoint2 | Vector3 | |
lineVec2 | Vector3 | |
return | bool |
public static LinePlaneIntersection ( Vector3 &intersection, Vector3 linePoint, Vector3 lineVec, Vector3 planeNormal, Vector3 planePoint ) : bool | ||
intersection | Vector3 | |
linePoint | Vector3 | |
lineVec | Vector3 | |
planeNormal | Vector3 | |
planePoint | Vector3 | |
return | bool |
public static LookRotationExtended ( GameObject &gameObjectInOut, Vector3 alignWithVector, Vector3 alignWithNormal, Vector3 customForward, Vector3 customUp ) : void | ||
gameObjectInOut | GameObject | |
alignWithVector | Vector3 | |
alignWithNormal | Vector3 | |
customForward | Vector3 | |
customUp | Vector3 | |
return | void |
public static PlaneFrom3Points ( Vector3 &planeNormal, Vector3 &planePoint, Vector3 pointA, Vector3 pointB, Vector3 pointC ) : void | ||
planeNormal | Vector3 | |
planePoint | Vector3 | |
pointA | Vector3 | |
pointB | Vector3 | |
pointC | Vector3 | |
return | void |
public static PlanePlaneIntersection ( Vector3 &linePoint, Vector3 &lineVec, Vector3 plane1Normal, Vector3 plane1Position, Vector3 plane2Normal, Vector3 plane2Position ) : bool | ||
linePoint | Vector3 | |
lineVec | Vector3 | |
plane1Normal | Vector3 | |
plane1Position | Vector3 | |
plane2Normal | Vector3 | |
plane2Position | Vector3 | |
return | bool |
public static PositionFromMatrix ( Matrix4x4 m ) : Vector3 | ||
m | Matrix4x4 | |
return | Vector3 |
public static PreciseAlign ( GameObject &gameObjectInOut, Vector3 alignWithVector, Vector3 alignWithNormal, Vector3 alignWithPosition, Vector3 triangleForward, Vector3 triangleNormal, Vector3 trianglePosition ) : void | ||
gameObjectInOut | GameObject | |
alignWithVector | Vector3 | |
alignWithNormal | Vector3 | |
alignWithPosition | Vector3 | |
triangleForward | Vector3 | |
triangleNormal | Vector3 | |
trianglePosition | Vector3 | |
return | void |
public static ProjectPointOnLine ( Vector3 linePoint, Vector3 lineVec, Vector3 point ) : Vector3 | ||
linePoint | Vector3 | |
lineVec | Vector3 | |
point | Vector3 | |
return | Vector3 |
public static ProjectPointOnPlane ( Vector3 planeNormal, Vector3 planePoint, Vector3 point ) : Vector3 | ||
planeNormal | Vector3 | |
planePoint | Vector3 | |
point | Vector3 | |
return | Vector3 |
public static ProjectVectorOnPlane ( Vector3 planeNormal, Vector3 vector ) : Vector3 | ||
planeNormal | Vector3 | |
vector | Vector3 | |
return | Vector3 |
public static QuaternionFromMatrix ( Matrix4x4 m ) : Quaternion | ||
m | Matrix4x4 | |
return | Quaternion |
public static SetVectorLength ( Vector3 vector, float size ) : Vector3 | ||
vector | Vector3 | |
size | float | |
return | Vector3 |
public static SignedDistancePlanePoint ( Vector3 planeNormal, Vector3 planePoint, Vector3 point ) : float | ||
planeNormal | Vector3 | |
planePoint | Vector3 | |
point | Vector3 | |
return | float |
public static SignedDotProduct ( Vector3 vectorA, Vector3 vectorB, Vector3 normal ) : float | ||
vectorA | Vector3 | |
vectorB | Vector3 | |
normal | Vector3 | |
return | float |
public static SubtractRotation ( Quaternion B, Quaternion A ) : Quaternion | ||
B | Quaternion | |
A | Quaternion | |
return | Quaternion |
public static TransformWithParent ( Quaternion &childRotation, Vector3 &childPosition, Quaternion parentRotation, Vector3 parentPosition, Quaternion startParentRotation, Vector3 startParentPosition, Quaternion startChildRotation, Vector3 startChildPosition ) : void | ||
childRotation | Quaternion | |
childPosition | Vector3 | |
parentRotation | Quaternion | |
parentPosition | Vector3 | |
startParentRotation | Quaternion | |
startParentPosition | Vector3 | |
startChildRotation | Quaternion | |
startChildPosition | Vector3 | |
return | void |
public static VectorsToTransform ( GameObject &gameObjectInOut, Vector3 positionVector, Vector3 directionVector, Vector3 normalVector ) : void | ||
gameObjectInOut | GameObject | |
positionVector | Vector3 | |
directionVector | Vector3 | |
normalVector | Vector3 | |
return | void |