Class TAbstract3DBackgroundNode

Unit

Declaration

type TAbstract3DBackgroundNode = class(TAbstractBackgroundNode)

Description

Abstract type from which 3D backgrounds inherit.

Hierarchy

Overview

Methods

Public function TransformationChange: TNodeTransformationChange; override;
Public function Texture(const Side: TBackgroundSide): TAbstractTextureNode; virtual; abstract;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetGroundAngle(const Value: array of Single); overload;
Public procedure SetGroundAngle(const Value: TSingleList); overload;
Public procedure SetGroundColor(const Value: array of TCastleColorRGB); overload;
Public procedure SetGroundColor(const Value: TVector3List); overload;
Public procedure SetSkyAngle(const Value: array of Single); overload;
Public procedure SetSkyAngle(const Value: TSingleList); overload;
Public procedure SetSkyColor(const Value: array of TCastleColorRGB); overload;
Public procedure SetSkyColor(const Value: TVector3List); overload;

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 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 CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public procedure SetGroundAngle(const Value: array of Single); overload;
 
Public procedure SetGroundAngle(const Value: TSingleList); overload;
 
Public procedure SetGroundColor(const Value: array of TCastleColorRGB); overload;
 
Public procedure SetGroundColor(const Value: TVector3List); overload;
 
Public procedure SetSkyAngle(const Value: array of Single); overload;
 
Public procedure SetSkyAngle(const Value: TSingleList); overload;
 
Public procedure SetSkyColor(const Value: array of TCastleColorRGB); overload;
 
Public procedure SetSkyColor(const Value: TVector3List); overload;
 

Properties

Public property FdGroundAngle: TMFFloat read FFdGroundAngle;

Internal wrapper for property GroundAngle. This wrapper API may change, we advise to access simpler GroundAngle instead.

Public property FdGroundColor: TMFColor read FFdGroundColor;

Internal wrapper for property GroundColor. This wrapper API may change, we advise to access simpler GroundColor instead.

Public property FdSkyAngle: TMFFloat read FFdSkyAngle;

Internal wrapper for property SkyAngle. This wrapper API may change, we advise to access simpler SkyAngle instead.

Public property FdSkyColor: TMFColor read FFdSkyColor;

Internal wrapper for property SkyColor. This wrapper API may change, we advise to access simpler SkyColor instead.

Public property FdTransparency: TSFFloat read FFdTransparency;

Internal wrapper for property Transparency. This wrapper API may change, we advise to access simpler Transparency instead.

Public property Transparency: Single read GetTransparency write SetTransparency;
 

Generated by PasDoc 0.16.0.