Class TBackgroundNode

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TBackgroundNode = class(TAbstractBackgroundNode)

Description

no description available, TAbstractBackgroundNode description follows
no description available, TAbstractBindableNode description follows
no description available, TAbstractChildNode description follows
no description available, TAbstractNode description follows

Base X3D node.

Almost all X3D nodes inherit from this. (Exception: X3DMetadataObject. So you cannot have metadata of metadata of...)

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public destructor Destroy; override;
Public class function ClassNodeTypeName: string; override;
Public class function URNMatching(const URN: string): boolean; override;
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;

Properties

Public property FdBackUrl: TMFString read FFdBackUrl;
Public property FdBottomUrl: TMFString read FFdBottomUrl;
Public property FdFrontUrl: TMFString read FFdFrontUrl;
Public property FdLeftUrl: TMFString read FFdLeftUrl;
Public property FdRightUrl: TMFString read FFdRightUrl;
Public property FdTopUrl: TMFString read FFdTopUrl;
Public property BgImages: TBackgroundImages read GetBgImages;
Public property BgImagesLoaded: boolean read FBgImagesLoaded write SetBgImagesLoaded;

Description

Methods

Public procedure CreateNode; override;
 
Public destructor Destroy; override;
 
Public class function ClassNodeTypeName: string; override;
 
Public class function URNMatching(const URN: string): boolean; override;
 
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;
 

Properties

Public property FdBackUrl: TMFString read FFdBackUrl;
 
Public property FdBottomUrl: TMFString read FFdBottomUrl;
 
Public property FdFrontUrl: TMFString read FFdFrontUrl;
 
Public property FdLeftUrl: TMFString read FFdLeftUrl;
 
Public property FdRightUrl: TMFString read FFdRightUrl;
 
Public property FdTopUrl: TMFString read FFdTopUrl;
 
Public property BgImages: TBackgroundImages read GetBgImages;

Pierwsze uzycie BgImages (albo pierwsze uzycie BgImages po Parse) automatycznie zaladuje obrazki z URLi BackUrl/BottomUrl itd. Obrazki dla ktorych zaden osiagalny URL nie byl podany zostana ustawione na ImageNone.

Images may have classes allowed by LoadTextureImage.

Obrazki beda zawsze odpowiadaly URLom w polach Fd*Url - dlatego po zrobieniu Parse na tym obiekcie nastepne wywolanie BgImages bedzie ladowalo je od nowa.

Public property BgImagesLoaded: boolean read FBgImagesLoaded write SetBgImagesLoaded;

Czy obrazki juz sa zaladowane ? W zasadzie ta funkcja nigdy nie powinna ci byc potrzebna skoro cale ladowanie / zwalnianie obrazkow jest robione automatycznie. Ale moze ci przydac : ona mowi czy najblizsze wywolanie BgImages wywola ReloadBgImages czy nie.

You can set this to True to force loading of images now, and you can set to this to False to force release of background images now. In normal circumstances, you don't need it — BgImages are automatically loaded on first use, and are automatically freed when necessary.

If you're sure you want to reload the background images (e.g. when you suspect that images on the disk changed), you may force reload by setting this to False and then to True again.


Generated by PasDoc 0.12.1 on 2013-02-04 20:26:55