Class TTangentNode

Unit

Declaration

type TTangentNode = class(TAbstractGeometricPropertyNode)

Description

Tangent vectors information, for bump mapping. The "vector" field should contain normalized tangent vectors, in right-handed coordinate system.

The ordering of the tangent vectors is exactly the same as ordering of normal vectors would be, so e.g. TAbstractComposedGeometryNode.NormalPerVertex affects the interpretation of tangent vectors as well.

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetVector(const Value: array of TVector3);
Public procedure SetVector(const Value: TVector3List);
Public constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override;
Public procedure SetVector4D(const List: TVector4List);

Properties

Public property FdVector: TMFVec3f read FFdVector;

Description

Methods

Public procedure CreateNode; override;

Automatically generated node properties.

Do not edit this file manually! To add new properties: - add them to the text files in tools/internal/x3d-nodes-to-pascal/nodes-specification/ , - and regenerate include files by running x3d-nodes-to-pascal .

The documentation for properties should go to x3dnodes_documentation.txt .

Public class function ClassX3DType: string; override;
 
Public procedure SetVector(const Value: array of TVector3);
 
Public procedure SetVector(const Value: TVector3List);
 
Public constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override;
 
Public procedure SetVector4D(const List: TVector4List);

Set tangent vectors from a list of 4D vectors following glTF specification. https://github.com/KhronosGroup/glTF/tree/master/specification/2.0 says "XYZW vertex tangents where the w component is a sign value (-1 or +1) indicating handedness of the tangent basis".

Properties

Public property FdVector: TMFVec3f read FFdVector;
 

Generated by PasDoc 0.16.0.