TriLib Exporter
Search Results for

    Show / Hide Table of Contents

    Class Geometry

    Represents a sub-mesh geometry, including its triangle indices and other data.

    Inheritance
    object
    ObjectBase
    Geometry
    Inherited Members
    ObjectBase.Name
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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[]
    In this article
    Back to top Generated by DocFX