Rock Factory  1.0
Unity3d component package for procedural rocks
 All Classes Functions Variables Enumerations Properties
RFRockSideIndices Class Reference

Class to store indices of a concatenated array which stores values of all sides. More...

List of all members.

Public Member Functions

RFRockSideTypes GetSide (int vertexIndex)
 Lookup side that corresponds with given index .

Public Attributes

int frontFirst = 0
 Index of first occurrence of front side value.
int frontLast = 0
 Index of last occurrence of front side value.
int backFirst = 0
 Index of first occurrence of back side value.
int backLast = 0
 Index of last occurrence of back side value.
int topFirst = 0
 Index of first occurrence of top side value.
int topLast = 0
 Index of last occurrence of top side value.
int bottomFirst = 0
 Index of first occurrence of bottom side value.
int bottomLast = 0
 Index of last occurrence of bottom side value.
int leftFirst = 0
 Index of first occurrence of left side value.
int leftLast = 0
 Index of last occurrence of left side value.
int rightFirst = 0
 Index of first occurrence of right side value.
int rightLast = 0
 Index of last occurrence of right side value.

Detailed Description

Class to store indices of a concatenated array which stores values of all sides.


Member Function Documentation

RFRockSideTypes GetSide ( int  vertexIndex)

Lookup side that corresponds with given index .

Returns:
The side.
Parameters:
vertexIndexVertex index to find side of.

Member Data Documentation

int backFirst = 0

Index of first occurrence of back side value.

int backLast = 0

Index of last occurrence of back side value.

int bottomFirst = 0

Index of first occurrence of bottom side value.

int bottomLast = 0

Index of last occurrence of bottom side value.

int frontFirst = 0

Index of first occurrence of front side value.

int frontLast = 0

Index of last occurrence of front side value.

int leftFirst = 0

Index of first occurrence of left side value.

int leftLast = 0

Index of last occurrence of left side value.

int rightFirst = 0

Index of first occurrence of right side value.

int rightLast = 0

Index of last occurrence of right side value.

int topFirst = 0

Index of first occurrence of top side value.

int topLast = 0

Index of last occurrence of top side value.


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