Class TTexture2Node_1

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TTexture2Node_1 = class(TAbstractTexture2DNode)

Description

no description available, TAbstractTexture2DNode description follows

VRML/X3D texture that is 2D and is loaded (from file or some other stream).

For X3D, this descends from X3DTextureNode and is an ancestor for X3DTexture2DNode, so X3D hierarchy is nicely preserved.

Hierarchy

Overview

Methods

Protected function GetRepeatS: boolean; override;
Protected function GetRepeatT: boolean; override;
Protected procedure SetRepeatS(const Value: boolean); override;
Protected procedure SetRepeatT(const Value: boolean); override;
Protected procedure LoadTextureData(out CacheUsed: boolean); override;
Public procedure CreateNode; override;
Public class function ClassNodeTypeName: string; override;
Public function TextureDescription: string; override;

Properties

Public property FdFilename: TSFString read FFdFilename;
Public property FdImage: TSFImage read FFdImage;
Public property FdWrapS: TSFEnum read FFdWrapS;
Public property FdWrapT: TSFEnum read FFdWrapT;
Public property FdModel: TSFEnum read FFdModel;
Public property FdBlendColor: TSFVec3f read FFdBlendColor;

Description

Methods

Protected function GetRepeatS: boolean; override;
 
Protected function GetRepeatT: boolean; override;
 
Protected procedure SetRepeatS(const Value: boolean); override;
 
Protected procedure SetRepeatT(const Value: boolean); override;
 
Protected procedure LoadTextureData(out CacheUsed: boolean); override;

Texture is loaded from file or inlined. The priority has the filename, only if it's empty (or an exception occurs during file loading) then the inlined texture will be used.

Note that in VRML 1.0 a node without any texture (that is, when IsTextureLoaded = true and still IsTextureImage = false) is also useful: it turns off using the previous texture.

Public procedure CreateNode; override;
 
Public class function ClassNodeTypeName: string; override;
 
Public function TextureDescription: string; override;
 

Properties

Public property FdFilename: TSFString read FFdFilename;
 
Public property FdImage: TSFImage read FFdImage;
 
Public property FdWrapS: TSFEnum read FFdWrapS;
 
Public property FdWrapT: TSFEnum read FFdWrapT;
 
Public property FdModel: TSFEnum read FFdModel;
 
Public property FdBlendColor: TSFVec3f read FFdBlendColor;
 

Generated by PasDoc 0.14.0.