Click or drag to resize
Ab4d.SharpEngine logo

PositionNormalTextureVertex Structure

PositionNormalTextureVertex is a struct used for vertex buffer that defines Position, Normal and TextureCoordinate
Inheritance Hierarchy
SystemObject
  SystemValueType
    Ab4d.SharpEngine.CommonPositionNormalTextureVertex

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public struct PositionNormalTextureVertex : IEquatable<PositionNormalTextureVertex>

The PositionNormalTextureVertex type exposes the following members.

Constructors
 NameDescription
Public methodPositionNormalTextureVertex Constructor
Top
Methods
 NameDescription
Public methodStatic memberCalculateBoundingBox CalculateBoundingBox calculates the BoundingBox from the specified array of PositionNormalTextureVertex.
Public methodStatic memberCreateArray(Vector3, Vector3, Vector2) CreateArray creates an array of PositionNormalTextureVertex from the specified positions, normals (can ben null) and textureCoordinates (can be null).
Public methodStatic memberCreateArray(Vector3, Vector3, Vector2, BoundingBox) CreateArray creates an array of PositionNormalTextureVertex from the specified positions, normals (can ben null) and textureCoordinates (can be null).
Public methodEquals(Object) Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(PositionNormalTextureVertex) Determines whether the specified PositionNormalTextureVertex is equal to this instance.
Public methodEquals(PositionNormalTextureVertex) Determines whether the specified PositionNormalTextureVertex is equal to this instance.
Public methodStatic memberFillArray(PositionNormalTextureVertex, Vector3, Vector3, Vector2) FillArray fills the specified array of PositionNormalTextureVertex with the specified positions, normals (can ben null) and textureCoordinates (can be null). The vertices array length must be at least the length of positions array.
Public methodStatic memberFillArray(PositionNormalTextureVertex, Vector3, Vector3, Vector2, BoundingBox) FillArray fills the specified array of PositionNormalTextureVertex with the specified positions, normals (can ben null) and textureCoordinates (can be null). The method also sets the BoundingBox. The vertices array length must be at least the length of positions array.
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodToString ToString
(Overrides ValueTypeToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(PositionNormalTextureVertex, PositionNormalTextureVertex) Tests for equality between two objects.
Public operatorStatic memberInequality(PositionNormalTextureVertex, PositionNormalTextureVertex) Tests for inequality between two objects.
Top
Fields
 NameDescription
Public fieldNormal Normal
Public fieldPosition Position
Public fieldStatic memberSizeInBytes Size in bytes
Public fieldStatic memberSizeInFloats Size in floats
Public fieldTextureCoordinate TextureCoordinate
Top
See Also