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
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractGeometricPropertyNode
- TTangentNode
Overview
Methods
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
|
procedure SetVector(const Value: array of TVector3); overload; |
|
procedure SetVector(const Value: TVector3List); overload; |
|
procedure SetVector4D(const List: TVector4List); |
Properties
property FdVector: TMFVec3f read FFdVector; |
Description
Methods
procedure CreateNode; override; |
|
Create node fields and events. |
class function ClassX3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DNode.ClassX3DType. Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value. Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there. You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance. |
procedure SetVector(const Value: array of TVector3); overload; |
|
This item has no description. |
procedure SetVector(const Value: TVector3List); overload; |
|
This item has no description. |
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
property FdVector: TMFVec3f read FFdVector; |
|
Internal wrapper for property |
Generated by PasDoc 0.16.0-snapshot.