C# Class HeightPlane, ThreeDWorld

Afficher le fichier Open project: dicarlolab/ThreeDWorld Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode Description
StripGrid ( int startX, int maxX, int startY, int maxY ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Clear() public méthode

public Clear ( int width, int length ) : void
width int
length int
Résultat void

GridToWorld() public méthode

public GridToWorld ( Point2, pt ) : Vector3
pt Point2,
Résultat Vector3

GridToWorld() public méthode

public GridToWorld ( Vector2 vec ) : Vector3
vec Vector2
Résultat Vector3

Index() public méthode

public Index ( Point2, pt ) : int
pt Point2,
Résultat int

Index() public méthode

public Index ( int x, int y ) : int
x int
y int
Résultat int

InitForWall() public méthode

public InitForWall ( WallInfo, wall, bool whichSide ) : void
wall WallInfo,
whichSide bool
Résultat void

ModifyGrid() public méthode

public ModifyGrid ( GridInfo, info, int i, int j, int width, int length ) : void
info GridInfo,
i int
j int
width int
length int
Résultat void

RestrictBounds() public méthode

public RestrictBounds ( Bounds bounds ) : void
bounds Bounds
Résultat void

TestGrid() public méthode

public TestGrid ( GridInfo, info, int dimX, int dimY ) : bool
info GridInfo,
dimX int
dimY int
Résultat bool

UpdateGrid() public méthode

public UpdateGrid ( int startX, int startY, int dimX, int dimY ) : void
startX int
startY int
dimX int
dimY int
Résultat void

this() public méthode

public this ( Point2, indexer ) : GridInfo,
indexer Point2,
Résultat GridInfo,

this() public méthode

public this ( int indexer ) : GridInfo,
indexer int
Résultat GridInfo,

Property Details

anchorType public_oe property

public GeneratablePrefab.AttachAnchor anchorType
Résultat GeneratablePrefab.AttachAnchor

cornerPos public_oe property

public Vector3 cornerPos
Résultat Vector3

dimLength public_oe property

public int dimLength
Résultat int

dimWidth public_oe property

public int dimWidth
Résultat int

gridDim public_oe property

public float gridDim
Résultat float

lengthDir public_oe property

public Vector3 lengthDir
Résultat Vector3

myGridSpots public_oe property

public List myGridSpots
Résultat List

name public_oe property

public string name
Résultat string

planeHeight public_oe property

public float planeHeight
Résultat float

rotMat public_oe property

public Quaternion rotMat
Résultat Quaternion

upDir public_oe property

public Vector3 upDir
Résultat Vector3

widthDir public_oe property

public Vector3 widthDir
Résultat Vector3