Class TComposedCubeMapTextureNode
Unit
X3DNodes
Declaration
type TComposedCubeMapTextureNode = class(TAbstractEnvironmentTextureNode)
Description
Cube environment map texture defined as a six individual 2D texture nodes.
Hierarchy
Overview
Methods
 |
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
 |
function LoadSides: boolean; |
 |
procedure CreateNode; override; |
 |
class function ClassX3DType: String; override; |
Properties
Description
Methods
 |
constructor Create(const AX3DName: String = ''; const ABaseUrl: 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 support 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.
|
 |
procedure CreateNode; override; |
Create node fields and events.
|
 |
class function ClassX3DType: String; override; |
|
Properties
 |
property FdBack: TSFNode read FFdBack; |
Internal wrapper for property Back . This wrapper API may change, we advise to access simpler Back instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdBottom: TSFNode read FFdBottom; |
Internal wrapper for property Bottom . This wrapper API may change, we advise to access simpler Bottom instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdFront: TSFNode read FFdFront; |
Internal wrapper for property Front . This wrapper API may change, we advise to access simpler Front instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdLeft: TSFNode read FFdLeft; |
Internal wrapper for property Left . This wrapper API may change, we advise to access simpler Left instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdRight: TSFNode read FFdRight; |
Internal wrapper for property Right . This wrapper API may change, we advise to access simpler Right instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdTop: TSFNode read FFdTop; |
Internal wrapper for property Top . This wrapper API may change, we advise to access simpler Top instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdTextureProperties: TSFNode read FFdTextureProperties; |
Internal wrapper for property TextureProperties . This wrapper API may change, we advise to access simpler TextureProperties instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
Generated by PasDoc 0.16.0.