Search Results for

    Show / Hide Table of Contents

    Struct VertexPositionNormalTexture

    Represents a vertex with position, normal, and texture coordinates.

    Namespace: Evergine.Common.Graphics.VertexFormats
    Assembly: Evergine.Common.dll
    Syntax
    public struct VertexPositionNormalTexture

    Constructors

    VertexPositionNormalTexture(Vector3, Vector3, Vector2)

    Initializes a new instance of the VertexPositionNormalTexture struct.

    Declaration
    public VertexPositionNormalTexture(Vector3 position, Vector3 normal, Vector2 texCoord)
    Parameters
    Type Name Description
    Vector3 position

    The position.

    Vector3 normal

    The normal vector.

    Vector2 texCoord

    The texture coordinate.

    Fields

    Normal

    Vertex normal.

    Declaration
    public Vector3 Normal
    Field Value
    Type Description
    Vector3

    Position

    Vertex positions.

    Declaration
    public Vector3 Position
    Field Value
    Type Description
    Vector3

    TexCoord

    The vertex texture coordinates.

    Declaration
    public Vector2 TexCoord
    Field Value
    Type Description
    Vector2

    VertexFormat

    Vertex format.

    Declaration
    public static readonly LayoutDescription VertexFormat
    Field Value
    Type Description
    LayoutDescription

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX