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 procedure CreateNode; override;
Public function TransformationChange: TNodeTransformationChange; override;
Public function Texture(const Side: TBackgroundSide): TAbstractTextureNode; virtual; abstract;
Public function TransformRotation: TMatrix4;
Public procedure SetGroundAngle(const Value: array of Single);
Public procedure SetGroundAngle(const Value: TSingleList);
Public procedure SetGroundColor(const Value: array of TCastleColorRGB);
Public procedure SetGroundColor(const Value: TVector3List);
Public procedure SetSkyAngle(const Value: array of Single);
Public procedure SetSkyAngle(const Value: TSingleList);
Public procedure SetSkyColor(const Value: array of TCastleColorRGB);
Public procedure SetSkyColor(const Value: TVector3List);

Properties

Public property FdGroundAngle: TMFFloat read FFdGroundAngle;
Public property FdGroundColor: TMFColor read FFdGroundColor;
Public property FdSkyAngle: TMFFloat read FFdSkyAngle;
Public property FdSkyColor: TMFColor read FFdSkyColor;
Public property FdTransparency: TSFFloat read FFdTransparency;
Public property FdShaders: TMFNodeShaders read FFdShaders;
Public property FdEffects: TMFNode read FFdEffects;
Public property Transparency: Single read GetTransparency write SetTransparency;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public procedure CreateNode; override;
 
Public function TransformationChange: TNodeTransformationChange; override;
 
Public function Texture(const Side: TBackgroundSide): TAbstractTextureNode; virtual; abstract;

Texture node for given background side. May return Nil if none.

It is the caller's responsibility to take care of freeing the result, but only if it's not otherwise used. In other words, use TX3DNode.FreeIfUnused (or some routine based on it), unless you're sure that you always make the returned node a child of another node (in this case the returned node is always used, and remains managed by parent node).

Public function TransformRotation: TMatrix4;
 
Public procedure SetGroundAngle(const Value: array of Single);
 
Public procedure SetGroundAngle(const Value: TSingleList);
 
Public procedure SetGroundColor(const Value: array of TCastleColorRGB);
 
Public procedure SetGroundColor(const Value: TVector3List);
 
Public procedure SetSkyAngle(const Value: array of Single);
 
Public procedure SetSkyAngle(const Value: TSingleList);
 
Public procedure SetSkyColor(const Value: array of TCastleColorRGB);
 
Public procedure SetSkyColor(const Value: TVector3List);
 

Properties

Public property FdGroundAngle: TMFFloat read FFdGroundAngle;
 
Public property FdGroundColor: TMFColor read FFdGroundColor;
 
Public property FdSkyAngle: TMFFloat read FFdSkyAngle;
 
Public property FdSkyColor: TMFColor read FFdSkyColor;
 
Public property FdTransparency: TSFFloat read FFdTransparency;
 
Public property FdShaders: TMFNodeShaders read FFdShaders;
 
Public property FdEffects: TMFNode read FFdEffects;
 
Public property Transparency: Single read GetTransparency write SetTransparency;
 

Generated by PasDoc 0.15.0.