Class TAbstractBackgroundNode

Unit

Declaration

type TAbstractBackgroundNode = class(TAbstractBindableNode)

Description

Abstract type from which all backgrounds inherit.

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override;
Public function TransformRotation: TVector4;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;
Public procedure SetShaders(const Value: array of TAbstractShaderNode);
Public procedure SetEffects(const Value: array of TEffectNode);

Properties

Public property FdShaders: TMFNode read FFdShaders;
Public property FdEffects: TMFNode read FFdEffects;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override;
 
Public function TransformRotation: TVector4;

Extract only rotation (axis-angle format) from the transformation.

Public procedure CreateNode; override;

Create node fields and events.

Public class function ClassX3DType: String; override;
 
Public procedure SetShaders(const Value: array of TAbstractShaderNode);

Shaders used to render background geometry.

Public procedure SetEffects(const Value: array of TEffectNode);

Shader effects (see https://castle-engine.io/compositing_shaders.php) used to render background geometry.

Properties

Public property FdShaders: TMFNode read FFdShaders;

Internal wrapper for property Shaders. This wrapper API may change, we advise to access simpler Shaders instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property FdEffects: TMFNode read FFdEffects;

Internal wrapper for property Effects. This wrapper API may change, we advise to access simpler Effects instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).


Generated by PasDoc 0.16.0.