Class TAbstract3DBackgroundNode

Unit

Declaration

type TAbstract3DBackgroundNode = class(TAbstractBackgroundNode)

Description

Abstract type from which 3D backgrounds inherit.

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public function TransformationChange: TNodeTransformationChange; override;
Public function Texture(const Side: TBackgroundSide): TAbstractTextureNode; virtual; abstract;
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 Transparency: Single read GetTransparency write SetTransparency;

Description

Methods

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 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 Transparency: Single read GetTransparency write SetTransparency;
 

Generated by PasDoc 0.16.0.