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

Public Member Functions

override bool CanConvert (Type type)
override object ReadJson (Type objectType, Dictionary< string, object > values)
override Dictionary< string,
object > 
WriteJson (Type type, object value)

Private Attributes

readonly float[] values = new float[16]
 Just a temporary array of 16 floats.

Member Function Documentation

override bool CanConvert ( Type  type)
override object ReadJson ( Type  objectType,
Dictionary< string, object >  values 
override Dictionary<string,object> WriteJson ( Type  type,
object  value 

Member Data Documentation

readonly float [] values = new float[16]

Just a temporary array of 16 floats.

Stores the elements of the matrices temporarily just to avoid allocating memory for it each time.

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