Rock Factory  1.0
Unity3d component package for procedural rocks
 All Classes Functions Variables Enumerations Properties
RFRockSides< T > Class Template Reference

Class to store a value of type T per side. More...

List of all members.

Public Member Functions

 RFRockSides ()
 Initializes a new instance of the RFRockSides`1 class.
 RFRockSides (T init)
 Initializes a new instance of the RFRockSides`1 class.
T Get (RFRockSideTypes index)
 Get the value of type T for a side with the specified index.
T Get (int index)
 Get the specified value by index.
void Set (int index, T value)
 Set the specified value by index.

Public Attributes

T front
T back
T top
T bottom
T left
T right

Detailed Description

Class to store a value of type T per side.


Member Function Documentation

T Get ( RFRockSideTypes  index)

Get the value of type T for a side with the specified index.

Parameters:
indexIndex of side.
T Get ( int  index)

Get the specified value by index.

Parameters:
indexIndex of side.

Initializes a new instance of the RFRockSides`1 class.

RFRockSides ( T  init)

Initializes a new instance of the RFRockSides`1 class.

Parameters:
initInit.
void Set ( int  index,
T  value 
)

Set the specified value by index.

Parameters:
indexIndex of side.
valueValue for side.

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