![]() |
Lysa
0.0
Lysa 3D Engine
|
A single mesh vertex with position, normal, UV, and tangent data.
Lua full name: lysa.Vertex
Properties | |
| float3 | position |
| Constructor: Vertex(position, normal, uv, tangent) | |
| float3 | normal |
| Vertex normal vector (should be unit length). | |
| float2 | uv |
| Texture UV coordinates. | |
| float4 | tangent |
| Tangent vector (xyz) and bitangent handedness sign (w = +1 or -1). | |
| float3 position |
Constructor: Vertex(position, normal, uv, tangent)
| float3 normal |
Vertex normal vector (should be unit length).
| float2 uv |
Texture UV coordinates.
| float4 tangent |
Tangent vector (xyz) and bitangent handedness sign (w = +1 or -1).