Class TAbstractTexture2DNode
Unit
Declaration
type TAbstractTexture2DNode = class(TAbstractSingleTextureNode)
Description
2D texture.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractAppearanceChildNode
- TAbstractTextureNode
- TAbstractSingleTextureNode
- TAbstractTexture2DNode
Overview
Methods
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
destructor Destroy; override; |
|
function TextureImage: TEncodedImage; |
|
function IsTextureImage: boolean; |
|
function TextureComposite: TCompositeImage; |
|
function TextureVideo: TVideo; |
|
function IsTextureVideo: boolean; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
Properties
property IsTextureLoaded: boolean
read FIsTextureLoaded write SetIsTextureLoaded; |
|
property TextureUsedFullUrl: String read FTextureUsedFullUrl; |
|
property FdRepeatS: TSFBool read FFdRepeatS; |
|
property RepeatS: Boolean read GetRepeatS write SetRepeatS; |
|
property FdRepeatT: TSFBool read FFdRepeatT; |
|
property RepeatT: Boolean read GetRepeatT write SetRepeatT; |
|
property FdTextureProperties: TSFNode read FFdTextureProperties; |
|
property TextureProperties: TTexturePropertiesNode read GetTextureProperties write SetTextureProperties; |
Description
Methods
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
This item has no description. Showing description inherited from TX3DNode.Create. Constructor. Initializes various properties:
|
destructor Destroy; override; |
|
This item has no description. |
function TextureImage: TEncodedImage; |
|
Calls to Note that either one of Note that when image failed to load, or URL was just empty, we can have IsTextureLoaded =
|
function IsTextureImage: boolean; |
|
This item has no description. |
function TextureComposite: TCompositeImage; |
|
This item has no description. |
function TextureVideo: TVideo; |
|
This item has no description. |
function IsTextureVideo: boolean; |
|
This item has no description. |
procedure CreateNode; override; |
|
Create node fields and events. |
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
property IsTextureLoaded: boolean
read FIsTextureLoaded write SetIsTextureLoaded; |
|
Is the texture data already loaded. Since the texture will be loaded automatically, you're usually not interested in this property. You can read it to e.g. predict if next TextureImage / TextureVideo call may take a long time. (You know that if You can also set Note that |
property FdRepeatS: TSFBool read FFdRepeatS; |
|
Internal wrapper for property |
property RepeatS: Boolean read GetRepeatS write SetRepeatS; |
|
This item has no description. |
property FdRepeatT: TSFBool read FFdRepeatT; |
|
Internal wrapper for property |
property RepeatT: Boolean read GetRepeatT write SetRepeatT; |
|
This item has no description. |
property FdTextureProperties: TSFNode read FFdTextureProperties; |
|
Internal wrapper for property |
property TextureProperties: TTexturePropertiesNode read GetTextureProperties write SetTextureProperties; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.