Struct Vertex3D
Vertex data used in 3D mesh rendering operations
Inherited Members
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct Vertex3D
Fields
SizeInBytes
Declaration
public const uint SizeInBytes = 32
Field Value
| Type | Description |
|---|---|
| uint |
Properties
Normal
Used for lighting calculations
Declaration
public Vector3 Normal { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Position
X, Y, Z
Declaration
public Vector3 Position { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
TexCoord
Texture Mapping coordinates
Declaration
public Vector2 TexCoord { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |