Show / Hide Table of Contents

    Struct VertexProfile

    Additional vertex channel

    public struct VertexProfile

    Constructors

    VertexProfile(Color, Vector4, Vector4, Vector4)

    Create new vertex profile

    public VertexProfile(Color color, Vector4 uv, Vector4 uv2, Vector4 uv3)

    Fields

    color

    Color of the vertex

    public Color color

    uv

    First UV channel

    public Vector4 uv

    uv2

    Second UV channel

    public Vector4 uv2

    uv3

    Third UV channel

    public Vector4 uv3

    Properties

    initial

    Default state for VertexProfile

    public static VertexProfile initial { get; }

    Methods

    Lerp(VertexProfile, VertexProfile, Single)

    Interpolate between two profile

    public static VertexProfile Lerp(VertexProfile a, VertexProfile b, float t)

    LerpUnclamped(VertexProfile, VertexProfile, Single)

    Interpolate between two profile (without clamping)

    public static VertexProfile LerpUnclamped(VertexProfile a, VertexProfile b, float t)

    Transform(Matrix4x4, VertexProfile)

    Transform UV Profile

    public static VertexProfile Transform(Matrix4x4 t, VertexProfile profile)

    Transform(Matrix4x4, VertexProfile, Vector4)

    Transform UV Profile

    public static VertexProfile Transform(Matrix4x4 t, VertexProfile profile, Vector4 center)
    ▲ Copyright © 2017 Wello Soft