Class TAbstractTexture3DNode
Unit
X3DNodes
Declaration
type TAbstractTexture3DNode = class(TAbstractSingleTextureNode)
Description
Base type for all node types that specify 3D sources for texture images.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
destructor Destroy; override; |
|
|
 |
procedure CreateNode; override; |
|
Create node fields and events.
|
 |
class function ClassX3DType: String; override; |
|
|
Properties
 |
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.
|
 |
property TextureComposite: TCompositeImage read FTextureComposite; |
|
|
 |
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).
|
 |
property RepeatS: Boolean read GetRepeatS write SetRepeatS; |
|
|
 |
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).
|
 |
property RepeatT: Boolean read GetRepeatT write SetRepeatT; |
|
|
 |
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).
|
 |
property RepeatR: Boolean read GetRepeatR write SetRepeatR; |
|
|
 |
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).
|
Generated by PasDoc 0.16.0.