Unit CastleArraysGenerator
Description
Generating TGeometryArrays for VRML/X3D shapes (TArraysGenerator).
Uses
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Description
Functions and Procedures
Types
TVertexColorFunction = procedure (var Color: TVector3Single; Shape: TShape; const VertexPosition: TVector3Single; VertexIndex: Integer) of object; |
Callback used by TRenderingAttributes.OnVertexColor. Passed here VertexPosition is in local coordinates (that is, local of this object, multiply by State.Transform to get scene coords). VertexIndex is the direct index to Node.Coordinates.
|
|