TriLib
Search Results for

    Show / Hide Table of Contents

    Class InterpolatedVertex

    Inheritance
    object
    InterpolatedVertex
    Implements
    IVertexData
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.Geometries
    Assembly: TriLibCore.dll
    Syntax
    public class InterpolatedVertex : IVertexData

    Constructors

    InterpolatedVertex(Vector3)

    Declaration
    public InterpolatedVertex(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position

    Methods

    CopySpanToNativeArray(ref NativeArray<byte>, int, int)

    Declaration
    public void CopySpanToNativeArray(ref NativeArray<byte> data, int spanStart, int spanEnd)
    Parameters
    Type Name Description
    NativeArray<byte> data
    int spanStart
    int spanEnd

    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

    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

    GetStreamSpans(IGeometryGroup, IList<Tuple<int, int>>)

    Declaration
    public void GetStreamSpans(IGeometryGroup geometryGroup, IList<Tuple<int, int>> spans)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    IList<Tuple<int, int>> spans

    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

    HasSkin(IGeometryGroup)

    Declaration
    public bool HasSkin(IGeometryGroup geometryGroup)
    Parameters
    Type Name Description
    IGeometryGroup geometryGroup
    Returns
    Type Description
    bool

    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

    Extension Methods

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