A* Pathfinding Project  4.1.20
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
MutableGraphTransform Class Reference

Like Pathfinding.Util.GraphTransform, but mutable. More...

Detailed Description

Public Member Functions

 MutableGraphTransform (Matrix4x4 matrix)
 
void SetMatrix (Matrix4x4 matrix)
 Replace this transform with the given matrix transformation.
 
- Public Member Functions inherited from GraphTransform
 GraphTransform (Matrix4x4 matrix)
 
void CopyTo (MutableGraphTransform graphTransform)
 Copies the data in this transform to another mutable graph transform.
 
Vector3 InverseTransform (Vector3 point)
 
Int3 InverseTransform (Int3 point)
 
void InverseTransform (Int3[] arr)
 
Bounds InverseTransform (Bounds bounds)
 
Vector3 Transform (Vector3 point)
 
void Transform (Int3[] arr)
 
void Transform (Vector3[] arr)
 
Bounds Transform (Bounds bounds)
 
Vector3 TransformVector (Vector3 point)
 
Vector3 WorldUpAtGraphPosition (Vector3 point)
 
- Public Member Functions inherited from IMovementPlane
void CopyTo (SimpleMovementPlane plane)
 
Vector2 ToPlane (Vector3 p)
 
Vector2 ToPlane (Vector3 p, out float elevation)
 
Vector3 ToWorld (Vector2 p, float elevation=0)
 
- Public Member Functions inherited from ITransform
Vector3 InverseTransform (Vector3 position)
 
Vector3 Transform (Vector3 position)
 

Additional Inherited Members

- Static Public Member Functions inherited from GraphTransform
static GraphTransform operator* (GraphTransform lhs, Matrix4x4 rhs)
 
static GraphTransform operator* (Matrix4x4 lhs, GraphTransform rhs)
 
- Static Public Attributes inherited from GraphTransform
static readonly GraphTransform identityTransform = new GraphTransform(Matrix4x4.identity)
 
static readonly GraphTransform xyPlane = new GraphTransform(Matrix4x4.TRS(Vector3.zero, Quaternion.Euler(-90, 0, 0), Vector3.one))
 Transforms from the XZ plane to the XY plane.
 
static readonly GraphTransform xzPlane = new GraphTransform(Matrix4x4.identity)
 Transforms from the XZ plane to the XZ plane (i.e.
 
- Protected Member Functions inherited from GraphTransform
void Set (Matrix4x4 matrix)
 
- Properties inherited from GraphTransform
bool identity [get]
 True if this transform is the identity transform (i.e it does not do anything)
 
bool onlyTranslational [get]
 True if this transform is a pure translation without any scaling or rotation.
 

Constructor & Destructor Documentation

MutableGraphTransform ( Matrix4x4  matrix)

Member Function Documentation

void SetMatrix ( Matrix4x4  matrix)

Replace this transform with the given matrix transformation.


The documentation for this class was generated from the following file: