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

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:
indexIndex of side to lookup.
float Get ( int  index)

Get the specified index.

Returns:
Value from side.
Parameters:
indexIndex of side to lookup.
Vector3 GetSides ( Vector3  vertex)

Get values as vector of corresponding sides.

Returns:
Values from sides as vector.
Parameters:
vertexVertex coordinates to use

Property Documentation

Vector3 neg
get

Get values of all sides in negative quadrants of local space.

Vector3 where x=-bottom, y=-left, z=-back

Vector3 pos
get

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: