Class TAbstractTexture3DNode

Unit

Declaration

type TAbstractTexture3DNode = class(TAbstractSingleTextureNode)

Description

Base type for all node types that specify 3D sources for texture images.

Source: scene/x3d/x3dnodes_standard_texturing3d.inc (line 19).

Hierarchy

Overview

Methods

Public destructor Destroy; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;

Properties

Public property TextureLoaded: boolean read FTextureLoaded write SetTextureLoaded;
Public property TextureImage: TEncodedImage read FTextureImage;
Public property TextureComposite: TCompositeImage read FTextureComposite;
Public property FdRepeatS: TSFBool read FFdRepeatS;
Public property RepeatS: Boolean read GetRepeatS write SetRepeatS;
Public property FdRepeatT: TSFBool read FFdRepeatT;
Public property RepeatT: Boolean read GetRepeatT write SetRepeatT;
Public property FdRepeatR: TSFBool read FFdRepeatR;
Public property RepeatR: Boolean read GetRepeatR write SetRepeatR;
Public property FdTextureProperties: TSFNode read FFdTextureProperties;
Public property TextureProperties: TTexturePropertiesNode read GetTextureProperties write SetTextureProperties;

Description

Methods

Public destructor Destroy; override;

This item has no description.

Source: scene/x3d/x3dnodes_standard_texturing3d.inc (line 35).

Public procedure CreateNode; override;

Create node fields and events.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 37).

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.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 38).

Properties

Public property TextureLoaded: boolean read FTextureLoaded write SetTextureLoaded;

Load and unload 3D texture.

When loading, we will try to set TextureImage and TextureComposite. If loading is successful, TextureImage will be always set to non-nil (TextureComposite will be set to non-nil only if image came from some composite (DDS, KTX...) image). If loading failed, both TextureImage and TextureComposite 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 WritelnWarning) again at successful TextureLoaded := true.

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

Source: scene/x3d/x3dnodes_standard_texturing3d.inc (line 53).

Public property TextureImage: TEncodedImage read FTextureImage;

This item has no description.

Source: scene/x3d/x3dnodes_standard_texturing3d.inc (line 56).

Public property TextureComposite: TCompositeImage read FTextureComposite;

This item has no description.

Source: scene/x3d/x3dnodes_standard_texturing3d.inc (line 57).

Public property FdRepeatS: TSFBool read FFdRepeatS;

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

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 42).

Public property RepeatS: Boolean read GetRepeatS write SetRepeatS;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 44).

Public property FdRepeatT: TSFBool read FFdRepeatT;

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

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 48).

Public property RepeatT: Boolean read GetRepeatT write SetRepeatT;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 50).

Public property FdRepeatR: TSFBool read FFdRepeatR;

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

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 54).

Public property RepeatR: Boolean read GetRepeatR write SetRepeatR;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 56).

Public property FdTextureProperties: TSFNode read FFdTextureProperties;

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

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 60).

Public property TextureProperties: TTexturePropertiesNode read GetTextureProperties write SetTextureProperties;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dtexture3dnode.inc (line 62).


Generated by PasDoc 0.17.0.snapshot.