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) |
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
transform |
|
get |
The index of the object to place
|
get |
Gets a TRS matrix using Position, Rotation, Scale
|
getset |
Gets or sets the position
|
getset |
Gets or sets the rotation
|
getset |
Gets or sets the scale