API Referenceatlas
CoreVertex
Mesh vertex with position, color, UV coordinates, and a tangent-space basis.
Module: atlas
Mesh vertex with position, color, UV coordinates, and a tangent-space basis.
Declaration
export class CoreVertex { ... }Constructors
Creates a new core vertex.
constructor(
position?: Position3d,
color?: Color,
textureCoord?: Position2d,
normal?: Normal3d,
tangent?: Normal3d,
bitangent?: Normal3d,
);Properties
position
The position in world space.
position: Position3d;color
The RGBA color.
color: Color;textureCoord
The texture coord.
textureCoord: Position2d;normal
The normalized surface direction.
normal: Normal3d;tangent
The tangent.
tangent: Normal3d;bitangent
The bitangent.
bitangent: Normal3d;