C# Class HeightPlane, ThreeDWorld

Mostra file Open project: dicarlolab/ThreeDWorld Class Usage Examples

Public Properties

Property Type Description
anchorType GeneratablePrefab.AttachAnchor
cornerPos Vector3
dimLength int
dimWidth int
gridDim float
lengthDir Vector3
myGridSpots List
name string
planeHeight float
rotMat Quaternion
upDir Vector3
widthDir Vector3

Public Methods

Method Description
Clear ( ) : void
Clear ( int width, int length ) : void
GridToWorld ( Point2, pt ) : Vector3
GridToWorld ( Vector2 vec ) : Vector3
Index ( Point2, pt ) : int
Index ( int x, int y ) : int
InitForWall ( WallInfo, wall, bool whichSide ) : void
ModifyGrid ( GridInfo, info, int i, int j, int width, int length ) : void
RestrictBounds ( Bounds bounds ) : void
TestGrid ( GridInfo, info, int dimX, int dimY ) : bool
UpdateGrid ( int startX, int startY, int dimX, int dimY ) : void
this ( Point2, indexer ) : GridInfo,
this ( int indexer ) : GridInfo,

Private Methods

Method Description
StripGrid ( int startX, int maxX, int startY, int maxY ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Clear() public method

public Clear ( int width, int length ) : void
width int
length int
return void

GridToWorld() public method

public GridToWorld ( Point2, pt ) : Vector3
pt Point2,
return Vector3

GridToWorld() public method

public GridToWorld ( Vector2 vec ) : Vector3
vec Vector2
return Vector3

Index() public method

public Index ( Point2, pt ) : int
pt Point2,
return int

Index() public method

public Index ( int x, int y ) : int
x int
y int
return int

InitForWall() public method

public InitForWall ( WallInfo, wall, bool whichSide ) : void
wall WallInfo,
whichSide bool
return void

ModifyGrid() public method

public ModifyGrid ( GridInfo, info, int i, int j, int width, int length ) : void
info GridInfo,
i int
j int
width int
length int
return void

RestrictBounds() public method

public RestrictBounds ( Bounds bounds ) : void
bounds Bounds
return void

TestGrid() public method

public TestGrid ( GridInfo, info, int dimX, int dimY ) : bool
info GridInfo,
dimX int
dimY int
return bool

UpdateGrid() public method

public UpdateGrid ( int startX, int startY, int dimX, int dimY ) : void
startX int
startY int
dimX int
dimY int
return void

this() public method

public this ( Point2, indexer ) : GridInfo,
indexer Point2,
return GridInfo,

this() public method

public this ( int indexer ) : GridInfo,
indexer int
return GridInfo,

Property Details

anchorType public_oe property

public GeneratablePrefab.AttachAnchor anchorType
return GeneratablePrefab.AttachAnchor

cornerPos public_oe property

public Vector3 cornerPos
return Vector3

dimLength public_oe property

public int dimLength
return int

dimWidth public_oe property

public int dimWidth
return int

gridDim public_oe property

public float gridDim
return float

lengthDir public_oe property

public Vector3 lengthDir
return Vector3

myGridSpots public_oe property

public List myGridSpots
return List

name public_oe property

public string name
return string

planeHeight public_oe property

public float planeHeight
return float

rotMat public_oe property

public Quaternion rotMat
return Quaternion

upDir public_oe property

public Vector3 upDir
return Vector3

widthDir public_oe property

public Vector3 widthDir
return Vector3