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

Detailed Description

Spots are used to place objects (like meshes or Game Objects) A spot is defined by spacial coordinates (similar to Transform) and the index of the object to place

Properties

int Index [get]
 The index of the object to place 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

Property Documentation

int Index
get

The index of the object to place

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: