Helper class for generating content for IModelGeometry objects.
sealed class
|
ModelGeometryBuilder
|
Returns the number of vertex indices that have been written.
public
property
|
CountIndices
{
get
}
|
||
type
|
int32
|
||
value
|
|
The number of written vertex indices. |
Returns the number of vertices that have been written.
public
property
|
CountVertices
{
get
}
|
||
type
|
int32
|
||
value
|
|
The number of written vertices. |
Returns the vertex indices.
public
property
|
Indices
{
get
}
|
||
type
|
int32[]
|
||
value
|
The
vertex
index
array
of
null
if
no
indices
have
been
written. |
The vertex writer.
public
property
|
Vertices
{
get
}
|
||
type
|
VertexWriter
|
||
value
|
|
The object to use for writing vertex data. |
public
method
|
Build
()
|
||
type
|
IModelGeometry
|
public
method
|
Build
(PrimitiveBatch triangles,
PrimitiveBatch lines)
|
||
type
|
IModelGeometrySimple
|
||
params
|
triangles
|
||
lines
|
public
method
|
LineSegment
(int32 a,
int32 b)
|
||
params
|
a
|
||
b
|
public
method
|
Point
(int32 a)
|
||
params
|
a
|
public
method
|
Quad
(int32 a,
int32 b,
int32 c,
int32 d)
|
||
params
|
a
|
||
b
|
|||
c
|
|||
d
|
public
method
|
Triangle
(int32 a,
int32 b,
int32 c)
|
||
params
|
a
|
||
b
|
|||
c
|