Defines the solid using the specified parameters. The solid is rendered in the primitive's Reference Frame.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
|
| [Managed C++] |
|---|
|
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
|
[Python - STK API ] |
|---|
def Set(self, Positions:list, Normals:list, Indices:list, OutlineIndices:list, WindingOrder:"AgEStkGraphicsWindingOrder", BoundingSphere:"IAgStkGraphicsBoundingSphere", Closed:bool) -> None: |
- 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
- The orientation of front-facing triangles.
- 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.






