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; |
|
destructor Destroy; override; |
|
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; |
|
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; |
|
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; |
|
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; |
|
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; |
|
Generated by PasDoc 0.16.0.