Class TComposedCubeMapTextureNode
Unit
Declaration
type TComposedCubeMapTextureNode = class(TAbstractEnvironmentTextureNode)
Description
Cube environment map texture defined as a six individual 2D texture nodes.
Hierarchy
- TObject
- TPersistent
- TNonRefCountedInterfacedPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractAppearanceChildNode
- TAbstractTextureNode
- TAbstractSingleTextureNode
- TAbstractEnvironmentTextureNode
- TComposedCubeMapTextureNode
Overview
Methods
![]() |
procedure CreateNode; override; |
![]() |
class function ClassX3DType: string; override; |
![]() |
function LoadSides: boolean; |
Properties
![]() |
property FdBack: TSFNode read FFdBack; |
![]() |
property FdBottom: TSFNode read FFdBottom; |
![]() |
property FdFront: TSFNode read FFdFront; |
![]() |
property FdLeft: TSFNode read FFdLeft; |
![]() |
property FdRight: TSFNode read FFdRight; |
![]() |
property FdTop: TSFNode read FFdTop; |
![]() |
property FdTextureProperties: TSFNode read FFdTextureProperties; |
![]() |
property Back: TAbstractTexture2DNode read GetBack write SetBack; |
![]() |
property Bottom: TAbstractTexture2DNode read GetBottom write SetBottom; |
![]() |
property Front: TAbstractTexture2DNode read GetFront write SetFront; |
![]() |
property Left: TAbstractTexture2DNode read GetLeft write SetLeft; |
![]() |
property Right: TAbstractTexture2DNode read GetRight write SetRight; |
![]() |
property Top: TAbstractTexture2DNode read GetTop write SetTop; |
![]() |
property TextureProperties: TTexturePropertiesNode read GetTextureProperties write SetTextureProperties; |
Description
Methods
![]() |
procedure CreateNode; override; |
![]() |
class function ClassX3DType: string; override; |
![]() |
function LoadSides: boolean; |
|
Make sure all 6 sides are loaded. Make sure that all 6 fields for each cube map side are assigned, are TAbstractTexture2DNode instance (X3D spec requires it), load them, and check are they TCastleImage (we cannot suport TGPUCompressedImage when loading cubemaps this way, as we have to rotate images from ComposedCubeMapTextureNode when passing them to GPU, which is only possible for TCastleImage). Also calculate AlphaChannel for the whole cube map. Our AlphaChannel method will reflect the state from last call of this. | |
Properties
![]() |
property FdBack: TSFNode read FFdBack; |
![]() |
property FdBottom: TSFNode read FFdBottom; |
![]() |
property FdFront: TSFNode read FFdFront; |
![]() |
property FdLeft: TSFNode read FFdLeft; |
![]() |
property FdRight: TSFNode read FFdRight; |
![]() |
property FdTop: TSFNode read FFdTop; |
![]() |
property FdTextureProperties: TSFNode read FFdTextureProperties; |
![]() |
property Back: TAbstractTexture2DNode read GetBack write SetBack; |
![]() |
property Bottom: TAbstractTexture2DNode read GetBottom write SetBottom; |
![]() |
property Front: TAbstractTexture2DNode read GetFront write SetFront; |
![]() |
property Left: TAbstractTexture2DNode read GetLeft write SetLeft; |
![]() |
property Right: TAbstractTexture2DNode read GetRight write SetRight; |
![]() |
property Top: TAbstractTexture2DNode read GetTop write SetTop; |
![]() |
property TextureProperties: TTexturePropertiesNode read GetTextureProperties write SetTextureProperties; |
Generated by PasDoc 0.16.0.
