Class to store a value of type float per side.
More...
List of all members.
Public Member Functions |
Vector3 | GetSides (Vector3 vertex) |
| Get values as vector of corresponding sides.
|
float | Get (RFRockSideTypes index) |
| Get the specified index.
|
float | Get (int index) |
| Get the specified index.
|
Public Attributes |
float | front = 0.5f |
float | back = 0.5f |
float | top = 0.5f |
float | bottom = 0.5f |
float | left = 0.5f |
float | right = 0.5f |
Properties |
Vector3 | pos [get] |
| Get values of all sides in positive quadrants of local space.
|
Vector3 | neg [get] |
| Get values of all sides in negative quadrants of local space.
|
Detailed Description
Class to store a value of type float per side.
Member Function Documentation
float Get |
( |
RFRockSideTypes |
index | ) |
|
Get the specified index.
- Returns:
- Value from side.
- Parameters:
-
index | Index of side to lookup. |
Get the specified index.
- Returns:
- Value from side.
- Parameters:
-
index | Index of side to lookup. |
Vector3 GetSides |
( |
Vector3 |
vertex | ) |
|
Get values as vector of corresponding sides.
- Returns:
- Values from sides as vector.
- Parameters:
-
vertex | Vertex coordinates to use |
Property Documentation
Get values of all sides in negative quadrants of local space.
Vector3 where x=-bottom, y=-left, z=-back
Get values of all sides in positive quadrants of local space.
Vector3 where x=top, y=right, z=front
The documentation for this class was generated from the following file: