plane Element Reference
Creates a finite plane (quad) shape. More...
Inheritance diagram for plane:

Attributes | |
| vector12 | vertices |
| Plane vertices. | |
Detailed Description
Creates a finite plane (quad) shape.
- Note:
- If you do not specify vertices for the plane, it will default to a unit plane with normal [ 0, 1, 0 ] (ranging from [ -.5, 0, -.5 ] to [ .5, 0, .5 ]).
plane corresponds to the underlying Milton class 'Plane.'
Example usage:
"plane" : {
// alternative way of specifying a plane
"vertices" : [
552.8, 0.0,
0.0,
0.0, 0.0,
0.0,
0.0, 0.0, 559.2,
549.6, 0.0, 559.2,
],
},
Example usage:
"plane" : {
// unit plane from [ -.5, 0, -.5 ] to [ .5, 0, .5 ] with normal [ 0, 1, 0 ]
},
Attribute Documentation
| vector12 plane::vertices |
Plane vertices.
Expects 12 scalar values: [ vAx, vAy, vAz, vBx, vBy, vBz, vCx, vCy, vCz, vDx, vDy, vDz ], where A, B, C, and D denote the four vertices respectively and vAx, vAy, vAz denotes their respective x, y, and z components.
| type | vector12 |
| optional | true |
| default | [ -.5, 0, 0.5, 0.5, 0, 0.5, 0.5, 0, -0.5, -0.5, 0, -0.5 ] |
Generated on 28 Feb 2009 for MiltonScenefileFormat by
1.5.6