Class TTextureBackgroundNode

Unit

Declaration

type TTextureBackgroundNode = class(TAbstract3DBackgroundNode)

Description

3D background of a scene, comprised of sky and ground colors (gradients) and optional six textures (skybox), with flexible texture nodes. This is somewhat more flexible version of the TBackgroundNode, with this you can use e.g. TMovieTextureNode as the skybox textures.

Hierarchy

Overview

Methods

Public function Texture(const Side: TBackgroundSide): TAbstractTextureNode; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;

Properties

Public property FdBackTexture: TSFNode read FFdBackTexture;
Public property BackTexture: TAbstractTextureNode read GetBackTexture write SetBackTexture;
Public property FdBottomTexture: TSFNode read FFdBottomTexture;
Public property BottomTexture: TAbstractTextureNode read GetBottomTexture write SetBottomTexture;
Public property FdFrontTexture: TSFNode read FFdFrontTexture;
Public property FrontTexture: TAbstractTextureNode read GetFrontTexture write SetFrontTexture;
Public property FdLeftTexture: TSFNode read FFdLeftTexture;
Public property LeftTexture: TAbstractTextureNode read GetLeftTexture write SetLeftTexture;
Public property FdRightTexture: TSFNode read FFdRightTexture;
Public property RightTexture: TAbstractTextureNode read GetRightTexture write SetRightTexture;
Public property FdTopTexture: TSFNode read FFdTopTexture;
Public property TopTexture: TAbstractTextureNode read GetTopTexture write SetTopTexture;

Description

Methods

Public function Texture(const Side: TBackgroundSide): TAbstractTextureNode; override;

This item has no description. Showing description inherited from TAbstract3DBackgroundNode.Texture.

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;

Create node fields and events.

Public 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.

Properties

Public property FdBackTexture: TSFNode read FFdBackTexture;

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

Public property BackTexture: TAbstractTextureNode read GetBackTexture write SetBackTexture;

This item has no description.

Public property FdBottomTexture: TSFNode read FFdBottomTexture;

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

Public property BottomTexture: TAbstractTextureNode read GetBottomTexture write SetBottomTexture;

This item has no description.

Public property FdFrontTexture: TSFNode read FFdFrontTexture;

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

Public property FrontTexture: TAbstractTextureNode read GetFrontTexture write SetFrontTexture;

This item has no description.

Public property FdLeftTexture: TSFNode read FFdLeftTexture;

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

Public property LeftTexture: TAbstractTextureNode read GetLeftTexture write SetLeftTexture;

This item has no description.

Public property FdRightTexture: TSFNode read FFdRightTexture;

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

Public property RightTexture: TAbstractTextureNode read GetRightTexture write SetRightTexture;

This item has no description.

Public property FdTopTexture: TSFNode read FFdTopTexture;

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

Public property TopTexture: TAbstractTextureNode read GetTopTexture write SetTopTexture;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.