Class TAbstractTexture3DNode

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAbstractTexture3DNode = class(TAbstractTextureNode)

Description

no description available, TAbstractTextureNode description follows
no description available, TAbstractAppearanceChildNode 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;

Properties

Public property FdRepeatS: TSFBool read FFdRepeatS;
Public property FdRepeatT: TSFBool read FFdRepeatT;
Public property FdRepeatR: TSFBool read FFdRepeatR;
Public property FdTextureProperties: TSFNode read FFdTextureProperties;
Public property TextureLoaded: boolean read FTextureLoaded write SetTextureLoaded;
Public property TextureImage: TEncodedImage read FTextureImage;
Public property TextureDDS: TDDSImage read FTextureDDS;

Description

Methods

Public procedure CreateNode; override;
 
Public destructor Destroy; override;
 

Properties

Public property FdRepeatS: TSFBool read FFdRepeatS;
 
Public property FdRepeatT: TSFBool read FFdRepeatT;
 
Public property FdRepeatR: TSFBool read FFdRepeatR;
 
Public property FdTextureProperties: TSFNode read FFdTextureProperties;
 
Public property TextureLoaded: boolean read FTextureLoaded write SetTextureLoaded;

Load and unload 3D texture.

When loading, we will try to set TextureImage and TextureDDS. If loading is successfull, TextureImage will be always set to non-nil (TextureDDS will be set to non-nil only if image came from some DDS image). If loading failed, both TextureImage and TextureDDS will be Nil.

Note that even when loading failed (TextureImage remained Nil), TextureLoaded value still changes to True. This is good — it makes assignment TextureLoaded := true always work, and (more important) it prevents trying to load (and displaying uselessly the same OnWarning) again at successful TextureLoaded := true.

In case of problems (for example when some URL cannot be loaded), we will make OnWarning.

Public property TextureImage: TEncodedImage read FTextureImage;
 
Public property TextureDDS: TDDSImage read FTextureDDS;
 

Generated by PasDoc 0.13.0 on 2013-08-17 21:27:16