TriLib
Search Results for

    Show / Hide Table of Contents

    Interface IVertexData

    Represents a Vertex Data. A Vertex Data contains all attributes a Unity Vertex can have.

    Namespace: TriLibCore.Geometries
    Assembly: TriLibCore.dll
    Syntax
    public interface IVertexData

    Methods

    GetBoneWeight(IGeometryGroup)

    Gets/Sets the Vertex processed Bone Weight.

    Declaration
    BoneWeight GetBoneWeight(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    BoneWeight

    GetColor(IGeometryGroup)

    Gets/Sets the Vertex Color.

    Declaration
    Color GetColor(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Color

    GetNormal(IGeometryGroup)

    Gets/Sets the Vertex Normal.

    Declaration
    Vector3 GetNormal(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Vector3

    GetPosition(IGeometryGroup)

    Gets/Sets the Vertex Position.

    Declaration
    Vector3 GetPosition(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Vector3

    GetTangent(IGeometryGroup)

    Gets/Sets the Vertex Tangent.

    Declaration
    Vector4 GetTangent(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Vector4

    GetUV1(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 1.

    Declaration
    Vector2 GetUV1(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Vector2

    GetUV2(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 2.

    Declaration
    Vector2 GetUV2(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Vector2

    GetUV3(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 3.

    Declaration
    Vector2 GetUV3(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Vector2

    GetUV4(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 4.

    Declaration
    Vector2 GetUV4(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    Vector2

    GetUsesBoneWeight(IGeometryGroup)

    Indicates whether this Vertex Data uses Bone Weights.

    Declaration
    bool GetUsesBoneWeight(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    bool

    GetVertexIndex(IGeometryGroup)

    Gets/Sets the original Vertex Index.

    Declaration
    int GetVertexIndex(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    int

    SetBoneWeight(BoneWeight, IGeometryGroup)

    Gets/Sets the Vertex processed Bone Weight.

    Declaration
    void SetBoneWeight(BoneWeight value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    BoneWeight value
    IGeometryGroup geometryGroup

    SetColor(Color, IGeometryGroup)

    Gets/Sets the Vertex Color.

    Declaration
    void SetColor(Color value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Color value
    IGeometryGroup geometryGroup

    SetNormal(Vector3, IGeometryGroup)

    Gets/Sets the Vertex Normal.

    Declaration
    void SetNormal(Vector3 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector3 value
    IGeometryGroup geometryGroup

    SetPosition(Vector3, IGeometryGroup)

    Gets/Sets the Vertex Position.

    Declaration
    void SetPosition(Vector3 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector3 value
    IGeometryGroup geometryGroup

    SetTangent(Vector4, IGeometryGroup)

    Gets/Sets the Vertex Tangent.

    Declaration
    void SetTangent(Vector4 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector4 value
    IGeometryGroup geometryGroup

    SetUV1(Vector2, IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 1.

    Declaration
    void SetUV1(Vector2 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector2 value
    IGeometryGroup geometryGroup

    SetUV2(Vector2, IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 2.

    Declaration
    void SetUV2(Vector2 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector2 value
    IGeometryGroup geometryGroup

    SetUV3(Vector2, IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 3.

    Declaration
    void SetUV3(Vector2 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector2 value
    IGeometryGroup geometryGroup

    SetUV4(Vector2, IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 4.

    Declaration
    void SetUV4(Vector2 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector2 value
    IGeometryGroup geometryGroup

    SetVertexIndex(int, IGeometryGroup)

    Gets/Sets the original Vertex Index.

    Declaration
    void SetVertexIndex(int value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    int value
    IGeometryGroup geometryGroup

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top Generated by DocFX