TriLib
Search Results for

    Show / Hide Table of Contents

    Struct PointerVertexData

    Implements
    IVertexData
    IEquatable<PointerVertexData>
    Inherited Members
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: TriLibCore.Geometries
    Assembly: TriLibCore.dll
    Syntax
    public struct PointerVertexData : IVertexData, IEquatable<PointerVertexData>

    Constructors

    PointerVertexData(CommonGeometryGroup, int)

    Declaration
    public PointerVertexData(CommonGeometryGroup commonGeometryGroup, int vertexDataIndex)
    Parameters
    Type Name Description
    CommonGeometryGroup commonGeometryGroup
    int vertexDataIndex

    Fields

    VertexDataIndex

    Declaration
    public int VertexDataIndex
    Field Value
    Type Description
    int

    Properties

    Added

    Declaration
    public bool Added { get; }
    Property Value
    Type Description
    bool

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    Equals(PointerVertexData)

    Declaration
    public bool Equals(PointerVertexData other)
    Parameters
    Type Name Description
    PointerVertexData other
    Returns
    Type Description
    bool

    GetBoneWeight(IGeometryGroup)

    Gets/Sets the Vertex processed Bone Weight.

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

    GetColor(IGeometryGroup)

    Gets/Sets the Vertex Color.

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    GetNormal(IGeometryGroup)

    Gets/Sets the Vertex Normal.

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

    GetPosition(IGeometryGroup)

    Gets/Sets the Vertex Position.

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

    GetTangent(IGeometryGroup)

    Gets/Sets the Vertex Tangent.

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

    GetUV1(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 1.

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

    GetUV2(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 2.

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

    GetUV3(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 3.

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

    GetUV4(IGeometryGroup)

    Gets/Sets the Vertex Texture Coordinate 4.

    Declaration
    public 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
    public bool GetUsesBoneWeight(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    bool

    GetVertexIndex(IGeometryGroup)

    Gets/Sets the original Vertex Index.

    Declaration
    public 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
    public void SetBoneWeight(BoneWeight value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    BoneWeight value
    IGeometryGroup geometryGroup

    SetColor(Color, IGeometryGroup)

    Gets/Sets the Vertex Color.

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

    SetNormal(Vector3, IGeometryGroup)

    Gets/Sets the Vertex Normal.

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

    SetPosition(Vector3, IGeometryGroup)

    Gets/Sets the Vertex Position.

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

    SetTangent(Vector4, IGeometryGroup)

    Gets/Sets the Vertex Tangent.

    Declaration
    public 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
    public 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
    public 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
    public 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
    public void SetUV4(Vector2 value, IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    Vector2 value
    IGeometryGroup geometryGroup

    SetVertexIndex(int, IGeometryGroup)

    Gets/Sets the original Vertex Index.

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

    Implements

    IVertexData
    IEquatable<T>

    Extension Methods

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