C# Class makeCityStreet, vive-holojam

Inheritance: MonoBehaviour
Datei anzeigen Open project: nyu-vr-research/vive-holojam

Public Properties

Property Type Description
amount int
building GameObject
buildingMax Vector3
buildingMin Vector3
buildingYOffset float
buildingZOffset float
endPos float
leftRight bool
speed float
startPos float
window GameObject[]
windowBorderMax Vector2
windowBorderMin Vector2
windowSizeMax Vector2
windowSizeMin Vector2

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
flipNormals ( GameObject obj ) : void
moveVerts ( GameObject obj, Vector3 offset ) : void
scaleUVs ( GameObject obj ) : void
scaleVerts ( GameObject obj, Vector3 scale ) : void
setUVs ( GameObject obj ) : void
setUVs ( GameObject obj, Vector2 pos ) : void

Private Methods

Method Description
findClosest ( ) : int
findFarthest ( ) : int
makeBuilding ( Vector3 offset ) : Vector3

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

flipNormals() public method

public flipNormals ( GameObject obj ) : void
obj GameObject
return void

moveVerts() public method

public moveVerts ( GameObject obj, Vector3 offset ) : void
obj GameObject
offset Vector3
return void

scaleUVs() public method

public scaleUVs ( GameObject obj ) : void
obj GameObject
return void

scaleVerts() public method

public scaleVerts ( GameObject obj, Vector3 scale ) : void
obj GameObject
scale Vector3
return void

setUVs() public method

public setUVs ( GameObject obj ) : void
obj GameObject
return void

setUVs() public method

public setUVs ( GameObject obj, Vector2 pos ) : void
obj GameObject
pos Vector2
return void

Property Details

amount public_oe property

public int amount
return int

building public_oe property

public GameObject building
return GameObject

buildingMax public_oe property

public Vector3 buildingMax
return Vector3

buildingMin public_oe property

public Vector3 buildingMin
return Vector3

buildingYOffset public_oe property

public float buildingYOffset
return float

buildingZOffset public_oe property

public float buildingZOffset
return float

endPos public_oe property

public float endPos
return float

leftRight public_oe property

public bool leftRight
return bool

speed public_oe property

public float speed
return float

startPos public_oe property

public float startPos
return float

window public_oe property

public GameObject[] window
return GameObject[]

windowBorderMax public_oe property

public Vector2 windowBorderMax
return Vector2

windowBorderMin public_oe property

public Vector2 windowBorderMin
return Vector2

windowSizeMax public_oe property

public Vector2 windowSizeMax
return Vector2

windowSizeMin public_oe property

public Vector2 windowSizeMin
return Vector2