Class Geometry
Represents a sub-mesh geometry, including its triangle indices and other data.
Inherited Members
Namespace: TriLibExporter.Objects
Assembly: Assembly-CSharp.dll
Syntax
public class Geometry : ObjectBase
Constructors
Geometry(AssetWriterContext)
Initializes a new instance of the Geometry class.
Declaration
public Geometry(AssetWriterContext assetWriterContext)
Parameters
Type | Name | Description |
---|---|---|
AssetWriterContext | assetWriterContext | The asset writer context associated with this geometry. |
Fields
Reversed
Indicates whether the triangle winding order of the geometry has been reversed.
Declaration
public bool Reversed
Field Value
Type | Description |
---|---|
bool |
Triangles
The array of triangle indices that define the geometry.
Declaration
public int[] Triangles
Field Value
Type | Description |
---|---|
int[] |