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; |
This item has no description. Showing description inherited from TAbstractTextureNode.CreateNode. Automatically generated node properties. Do not edit this file manually! To add new properties: - add them to the text files in tools/internal/x3d-nodes-to-pascal/nodes-specification/ , - and regenerate include files by running x3d-nodes-to-pascal |
![]() |
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 RepeatS. This wrapper API may change, we advise to access simpler RepeatS instead. |
![]() |
property RepeatS: Boolean read GetRepeatS write SetRepeatS; |
This item has no description. |
![]() |
property FdRepeatT: TSFBool read FFdRepeatT; |
Internal wrapper for property RepeatT. This wrapper API may change, we advise to access simpler RepeatT instead. |
![]() |
property RepeatT: Boolean read GetRepeatT write SetRepeatT; |
This item has no description. |
![]() |
property FdTextureProperties: TSFNode read FFdTextureProperties; |
Internal wrapper for property TextureProperties. This wrapper API may change, we advise to access simpler TextureProperties instead. |
![]() |
property TextureProperties: TTexturePropertiesNode read GetTextureProperties write SetTextureProperties; |
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.