ygGeometry derived from ygNode | Example | Source | Header |
Messages |
wall | [bool] | set collision detection status |
floor | [bool] | set walk navigation status |
draw | [false | true | local | remote] | set the draw status |
wireframe | [bool] | set wireframe mode |
cull | [none | front | back | both] | set cull mode |
transparency | [false | true | last] | set transparency mode and optional bin |
Comments |
constructor ygGeometry
destructor ~ygGeometry
method reset
1 set floor to false
2 set wall to false
3 set the draw flag to true
4 set the wireframe flag to false
5 set the cull mode to back faces
method message
1 set collision detection status
2 set walk navigation status
3 set the draw status
4 set wireframe mode
5 set cull mode
6 set transparency mode and optional bin
method app
method setWall
method setFloor
method setDraw
method setWireframe
method setCull
method setTransparency
method setGeoState
1 if node type is pfGeode then set geoset properties
1.1 for each geode, call setGeosetTexture2 else, if node type is pfGroup
2.1 call this function recursively on all children
method setDrawBin
1 if node type is pfGeode then set geoset properties
1.1 for each geode, call setGeosetTexture2 else, if node type is pfGroup
2.1 call this function recursively on all children
method createDebugNode
method makeDebugGeosets
1 create corner 1
2 create corner 2
3 create corner 3
4 create corner 4
5 create corner 5
6 create corner 6
7 create corner 7
8 create corner 8
method makeCornerGeoset