Curvy  4.1.0
CGSpot Struct Reference
+ Inheritance diagram for CGSpot:
+ Collaboration diagram for CGSpot:

Detailed Description

Spot (sort of transform) to be used by Curvy Generator

Public Attributes

int m_Index
 
Vector3 m_Position
 
Quaternion m_Rotation
 
Vector3 m_Scale
 

Properties

int Index [get]
 Gets the ID More...
 
Matrix4x4 Matrix [get]
 Gets a TRS matrix using Position, Rotation, Scale More...
 
Vector3 Position [get, set]
 Gets or sets the position More...
 
Quaternion Rotation [get, set]
 Gets or sets the rotation More...
 
Vector3 Scale [get, set]
 Gets or sets the scale More...
 

Public Member Functions

 CGSpot (int index)
 
 CGSpot (int index, Vector3 position, Quaternion rotation, Vector3 scale)
 
bool Equals (CGSpot other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
void ToTransform (Transform transform)
 Sets a transform to match Position, Rotation, Scale in local space More...
 

Static Public Member Functions

static bool operator!= (CGSpot left, CGSpot right)
 
static bool operator== (CGSpot left, CGSpot right)
 

Constructor & Destructor Documentation

CGSpot ( int  index)
CGSpot ( int  index,
Vector3  position,
Quaternion  rotation,
Vector3  scale 
)

Member Function Documentation

bool Equals ( CGSpot  other)
override bool Equals ( object  obj)
override int GetHashCode ( )
static bool operator!= ( CGSpot  left,
CGSpot  right 
)
static
static bool operator== ( CGSpot  left,
CGSpot  right 
)
static
void ToTransform ( Transform  transform)

Sets a transform to match Position, Rotation, Scale in local space

Parameters
transform

Member Data Documentation

int m_Index
Vector3 m_Position
Quaternion m_Rotation
Vector3 m_Scale

Property Documentation

int Index
get

Gets the ID

Matrix4x4 Matrix
get

Gets a TRS matrix using Position, Rotation, Scale

Vector3 Position
getset

Gets or sets the position

Quaternion Rotation
getset

Gets or sets the rotation

Vector3 Scale
getset

Gets or sets the scale


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