new AxPlaneGeometry(result, xSegments, ySegments, xAxisnon-null, yAxisnon-null)
Creates a plane with the given number of segments, along the given vectors
New mesh vertices are created with their position filled
New mesh indices are created
Parameters:
Name |
Type |
Description |
result |
AxDeviceMesh
|
The mesh to hold the plane geometry |
xSegments |
Integer
|
The number of segments along the plane's X axis |
ySegments |
Integer
|
The number of segments along the plane's Y axis |
xAxis |
AxVector3
|
The orientation of the plane's X axis. If omitted, the arbitraty X axis is assumed |
yAxis |
AxVector3
|
The orientation of the plane's Y axis. If omitted, the arbitraty Y axis is assumed |
- Source:
Methods
CreateGeometry(result, xSegments, ySegments, xAxis, yAxis)
Creates a plane with the given number of segments, along the given vectors
New mesh vertices are created with their position filled
New mesh indices are created
Parameters:
Name |
Type |
Description |
result |
AxDeviceMesh
|
The mesh to hold the plane geometry |
xSegments |
Integer
|
The number of segments along the plane's X axis |
ySegments |
Integer
|
The number of segments along the plane's Y axis |
xAxis |
AxVector3
|
The orientation of the plane's X axis |
yAxis |
AxVector3
|
The orientation of the plane's Y axis |
- Source: