Defines the solid using the specified
parameters. The solid is rendered in the primitive's Reference
Frame.
[Visual Basic .NET] |
---|
Public Sub Set( _
ByRef Positions As System.Array, _
ByRef Normals As System.Array, _
ByRef Indices As System.Array, _
ByRef OutlineIndices As System.Array, _
ByVal WindingOrder As AgEStkGraphicsWindingOrder, _
ByVal BoundingSphere As IAgStkGraphicsBoundingSphere, _
ByVal Closed As Boolean _
)
|
[C#] |
---|
public void Set(
|
[Managed C++] |
---|
public: void Set(
|
[Java] |
---|
public set(
|
[Unmanaged C++] |
---|
public: HRESULT Set(
|
- Positions
- An array containing the positions of the solid in the order x, y, z.
- Normals
- An array containing the normals of the mesh in the order x, y, z.
- Indices
- An array of integers containing the indices into positions and normals. A set of x, y, and z elements is considered a single index.
- OutlineIndices
- An array of integers containing the indices into positions that define an outline of the solid. A set of x, y, and z elements is considered a single index.
- WindingOrder
-
Member Value Description eStkGraphicsWindingOrderCounterClockwise 0 Positions or triangles are defined in counter-clockwise order. eStkGraphicsWindingOrderClockwise 1 Positions or triangles are defined in clockwise order. eStkGraphicsWindingOrderCompute 2 The winding order is unknown and should be computed. For best performance, only use this value if you do not know the actual winding order. - BoundingSphere
- The bounding sphere that encompasses the solid.
- Closed
- Indicates if the solid is closed. For example, a box with six faces is closed. If one face is removed, the box is open.