Class TPhysicalMaterialNode

Unit

Declaration

type TPhysicalMaterialNode = class(TAbstractOneSidedMaterialNode)

Description

No description available, ancestor TAbstractOneSidedMaterialNode description follows
No description available, ancestor TAbstractMaterialNode description follows

Base node type for all Material nodes.

Hierarchy

Overview

Methods

Public constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override;
Public destructor Destroy; override;
Public function MaterialInfo: TMaterialInfo; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;

Properties

Public property FdBaseColor: TSFColor read FFdBaseColor;
Public property BaseColor: TCastleColorRGB read GetBaseColor write SetBaseColor;
Public property FdBaseTexture: TSFNode read FFdBaseTexture;
Public property BaseTexture: TAbstractSingleTextureNode read GetBaseTexture write SetBaseTexture;
Public property FdBaseTextureMapping: TSFString read FFdBaseTextureMapping;
Public property BaseTextureMapping: String read GetBaseTextureMapping write SetBaseTextureMapping;
Public property FdMetallic: TSFFloat read FFdMetallic;
Public property Metallic: Single read GetMetallic write SetMetallic;
Public property FdMetallicRoughnessTexture: TSFNode read FFdMetallicRoughnessTexture;
Public property MetallicRoughnessTexture: TAbstractSingleTextureNode read GetMetallicRoughnessTexture write SetMetallicRoughnessTexture;
Public property FdMetallicRoughnessTextureMapping: TSFString read FFdMetallicRoughnessTextureMapping;
Public property MetallicRoughnessTextureMapping: String read GetMetallicRoughnessTextureMapping write SetMetallicRoughnessTextureMapping;
Public property FdOcclusionStrength: TSFFloat read FFdOcclusionStrength;
Public property OcclusionStrength: Single read GetOcclusionStrength write SetOcclusionStrength;
Public property FdOcclusionTexture: TSFNode read FFdOcclusionTexture;
Public property OcclusionTexture: TAbstractSingleTextureNode read GetOcclusionTexture write SetOcclusionTexture;
Public property FdOcclusionTextureMapping: TSFString read FFdOcclusionTextureMapping;
Public property OcclusionTextureMapping: String read GetOcclusionTextureMapping write SetOcclusionTextureMapping;
Public property FdRoughness: TSFFloat read FFdRoughness;
Public property Roughness: Single read GetRoughness write SetRoughness;
Public property FdTransparency: TSFFloat read FFdTransparency;
Public property Transparency: Single read GetTransparency write SetTransparency;

Description

Methods

Public constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override;
 
Public destructor Destroy; override;
 
Public function MaterialInfo: TMaterialInfo; override;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 

Properties

Public property FdBaseColor: TSFColor read FFdBaseColor;

Internal wrapper for property BaseColor. This wrapper API may change, we advise to access simpler BaseColor instead.

Public property BaseColor: TCastleColorRGB read GetBaseColor write SetBaseColor;

The primary way to control the color of object with physical (PBR) material.

Public property FdBaseTexture: TSFNode read FFdBaseTexture;

Internal wrapper for property BaseTexture. This wrapper API may change, we advise to access simpler BaseTexture instead.

Public property BaseTexture: TAbstractSingleTextureNode read GetBaseTexture write SetBaseTexture;

The primary texture to control the color of object with physical (PBR) material. The RGB channel of this texture is multiplied with BaseColor, and alpha channel is multiplied with the opacity (1-Transparency).

Public property FdBaseTextureMapping: TSFString read FFdBaseTextureMapping;

Internal wrapper for property BaseTextureMapping. This wrapper API may change, we advise to access simpler BaseTextureMapping instead.

Public property BaseTextureMapping: String read GetBaseTextureMapping write SetBaseTextureMapping;

Determines texture coordinates used by BaseTexture.

Public property FdMetallic: TSFFloat read FFdMetallic;

Internal wrapper for property Metallic. This wrapper API may change, we advise to access simpler Metallic instead.

Public property Metallic: Single read GetMetallic write SetMetallic;

The metalness of the material; values range from 0.0 (non-metal) to 1.0 (metal).

Public property FdMetallicRoughnessTexture: TSFNode read FFdMetallicRoughnessTexture;

Internal wrapper for property MetallicRoughnessTexture. This wrapper API may change, we advise to access simpler MetallicRoughnessTexture instead.

Public property MetallicRoughnessTexture: TAbstractSingleTextureNode read GetMetallicRoughnessTexture write SetMetallicRoughnessTexture;

Control the Metallic and Roughness using a texture. The Blue channel of this texture is multiplied with Metallic. The Green channel is multiplied with Roughness. The other channels are ignored.

Public property FdMetallicRoughnessTextureMapping: TSFString read FFdMetallicRoughnessTextureMapping;

Internal wrapper for property MetallicRoughnessTextureMapping. This wrapper API may change, we advise to access simpler MetallicRoughnessTextureMapping instead.

Public property MetallicRoughnessTextureMapping: String read GetMetallicRoughnessTextureMapping write SetMetallicRoughnessTextureMapping;

Determines texture coordinates used by MetallicRoughnessTexture.

Public property FdOcclusionStrength: TSFFloat read FFdOcclusionStrength;

Internal wrapper for property OcclusionStrength. This wrapper API may change, we advise to access simpler OcclusionStrength instead.

Public property OcclusionStrength: Single read GetOcclusionStrength write SetOcclusionStrength;
 
Public property FdOcclusionTexture: TSFNode read FFdOcclusionTexture;

Internal wrapper for property OcclusionTexture. This wrapper API may change, we advise to access simpler OcclusionTexture instead.

Public property OcclusionTexture: TAbstractSingleTextureNode read GetOcclusionTexture write SetOcclusionTexture;
 
Public property FdOcclusionTextureMapping: TSFString read FFdOcclusionTextureMapping;

Internal wrapper for property OcclusionTextureMapping. This wrapper API may change, we advise to access simpler OcclusionTextureMapping instead.

Public property OcclusionTextureMapping: String read GetOcclusionTextureMapping write SetOcclusionTextureMapping;
 
Public property FdRoughness: TSFFloat read FFdRoughness;

Internal wrapper for property Roughness. This wrapper API may change, we advise to access simpler Roughness instead.

Public property Roughness: Single read GetRoughness write SetRoughness;

The roughness of the material; values range from 0.0 (smooth) to 1.0 (rough).

Public property FdTransparency: TSFFloat read FFdTransparency;

Internal wrapper for property Transparency. This wrapper API may change, we advise to access simpler Transparency instead.

Public property Transparency: Single read GetTransparency write SetTransparency;

Setting Transparency to value > 0 makes the object partially-transparent. Setting it to 1.0 makes it even invisible (but still collidable). If you want to render the object using blending (which is usually the case for partially-transparent) it is recommended to specify it explicitly using TAppearanceNode.AlphaMode.


Generated by PasDoc 0.16.0.