C# Class HoudiniEngineUnity.JSONNode

Datei anzeigen Open project: sideeffects/HoudiniEngineForUnity Class Usage Examples

Public Properties

Property Type Description
QuaternionContainerType JSONContainerType
RectContainerType JSONContainerType
VectorContainerType JSONContainerType

Public Methods

Method Description
ReadMatrix ( ) : Matrix4x4
ReadQuaternion ( ) : Quaternion
ReadQuaternion ( Quaternion aDefault ) : Quaternion
ReadRect ( ) : Rect
ReadRect ( Rect aDefault ) : Rect
ReadRectOffset ( ) : RectOffset
ReadRectOffset ( RectOffset aDefault ) : RectOffset
ReadVector2 ( ) : Vector2
ReadVector2 ( Vector2 aDefault ) : Vector2
ReadVector2 ( string aXName, string aYName ) : Vector2
ReadVector3 ( ) : Vector3
ReadVector3 ( Vector3 aDefault ) : Vector3
ReadVector3 ( string aXName, string aYName, string aZName ) : Vector3
ReadVector4 ( ) : Vector4
ReadVector4 ( Vector4 aDefault ) : Vector4
WriteMatrix ( Matrix4x4 aMatrix ) : JSONNode
WriteQuaternion ( Quaternion aRot ) : JSONNode
WriteRect ( Rect aRect ) : JSONNode
WriteRectOffset ( RectOffset aRect ) : JSONNode
WriteVector2 ( Vector2 aVec, string aXName = "x", string aYName = "y" ) : JSONNode
WriteVector3 ( Vector3 aVec, string aXName = "x", string aYName = "y", string aZName = "z" ) : JSONNode
WriteVector4 ( Vector4 aVec ) : JSONNode

Private Methods

Method Description
GetContainer ( JSONContainerType aType ) : JSONNode

Method Details

ReadMatrix() public method

public ReadMatrix ( ) : Matrix4x4
return Matrix4x4

ReadQuaternion() public method

public ReadQuaternion ( ) : Quaternion
return Quaternion

ReadQuaternion() public method

public ReadQuaternion ( Quaternion aDefault ) : Quaternion
aDefault Quaternion
return Quaternion

ReadRect() public method

public ReadRect ( ) : Rect
return Rect

ReadRect() public method

public ReadRect ( Rect aDefault ) : Rect
aDefault Rect
return Rect

ReadRectOffset() public method

public ReadRectOffset ( ) : RectOffset
return RectOffset

ReadRectOffset() public method

public ReadRectOffset ( RectOffset aDefault ) : RectOffset
aDefault RectOffset
return RectOffset

ReadVector2() public method

public ReadVector2 ( ) : Vector2
return Vector2

ReadVector2() public method

public ReadVector2 ( Vector2 aDefault ) : Vector2
aDefault Vector2
return Vector2

ReadVector2() public method

public ReadVector2 ( string aXName, string aYName ) : Vector2
aXName string
aYName string
return Vector2

ReadVector3() public method

public ReadVector3 ( ) : Vector3
return Vector3

ReadVector3() public method

public ReadVector3 ( Vector3 aDefault ) : Vector3
aDefault Vector3
return Vector3

ReadVector3() public method

public ReadVector3 ( string aXName, string aYName, string aZName ) : Vector3
aXName string
aYName string
aZName string
return Vector3

ReadVector4() public method

public ReadVector4 ( ) : Vector4
return Vector4

ReadVector4() public method

public ReadVector4 ( Vector4 aDefault ) : Vector4
aDefault Vector4
return Vector4

WriteMatrix() public method

public WriteMatrix ( Matrix4x4 aMatrix ) : JSONNode
aMatrix Matrix4x4
return JSONNode

WriteQuaternion() public method

public WriteQuaternion ( Quaternion aRot ) : JSONNode
aRot Quaternion
return JSONNode

WriteRect() public method

public WriteRect ( Rect aRect ) : JSONNode
aRect Rect
return JSONNode

WriteRectOffset() public method

public WriteRectOffset ( RectOffset aRect ) : JSONNode
aRect RectOffset
return JSONNode

WriteVector2() public method

public WriteVector2 ( Vector2 aVec, string aXName = "x", string aYName = "y" ) : JSONNode
aVec Vector2
aXName string
aYName string
return JSONNode

WriteVector3() public method

public WriteVector3 ( Vector3 aVec, string aXName = "x", string aYName = "y", string aZName = "z" ) : JSONNode
aVec Vector3
aXName string
aYName string
aZName string
return JSONNode

WriteVector4() public method

public WriteVector4 ( Vector4 aVec ) : JSONNode
aVec Vector4
return JSONNode

Property Details

QuaternionContainerType public_oe static_oe property

public static JSONContainerType QuaternionContainerType
return JSONContainerType

RectContainerType public_oe static_oe property

public static JSONContainerType RectContainerType
return JSONContainerType

VectorContainerType public_oe static_oe property

public static JSONContainerType VectorContainerType
return JSONContainerType