Class TPhysicalMaterialNode
Unit
Declaration
type TPhysicalMaterialNode = class(TAbstractOneSidedMaterialNode)
Description
This item has no description. Showing description inherited from TAbstractMaterialNode.
Base node type for all Material nodes.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractAppearanceChildNode
- TAbstractMaterialNode
- TAbstractOneSidedMaterialNode
- TPhysicalMaterialNode
Overview
Methods
destructor Destroy; override; |
|
function MaterialInfo: TMaterialInfo; override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
Properties
property FdBaseColor: TSFColor read FFdBaseColor; |
|
property BaseColor: TCastleColorRGB read GetBaseColor write SetBaseColor; |
|
property FdBaseTexture: TSFNode read FFdBaseTexture; |
|
property BaseTexture: TAbstractSingleTextureNode read GetBaseTexture write SetBaseTexture; |
|
property FdBaseTextureMapping: TSFString read FFdBaseTextureMapping; |
|
property BaseTextureMapping: String read GetBaseTextureMapping write SetBaseTextureMapping; |
|
property FdMetallic: TSFFloat read FFdMetallic; |
|
property Metallic: Single read GetMetallic write SetMetallic; |
|
property FdMetallicRoughnessTexture: TSFNode read FFdMetallicRoughnessTexture; |
|
property MetallicRoughnessTexture: TAbstractSingleTextureNode read GetMetallicRoughnessTexture write SetMetallicRoughnessTexture; |
|
property FdMetallicRoughnessTextureMapping: TSFString read FFdMetallicRoughnessTextureMapping; |
|
property MetallicRoughnessTextureMapping: String read GetMetallicRoughnessTextureMapping write SetMetallicRoughnessTextureMapping; |
|
property FdOcclusionStrength: TSFFloat read FFdOcclusionStrength; |
|
property OcclusionStrength: Single read GetOcclusionStrength write SetOcclusionStrength; |
|
property FdOcclusionTexture: TSFNode read FFdOcclusionTexture; |
|
property OcclusionTexture: TAbstractSingleTextureNode read GetOcclusionTexture write SetOcclusionTexture; |
|
property FdOcclusionTextureMapping: TSFString read FFdOcclusionTextureMapping; |
|
property OcclusionTextureMapping: String read GetOcclusionTextureMapping write SetOcclusionTextureMapping; |
|
property FdRoughness: TSFFloat read FFdRoughness; |
|
property Roughness: Single read GetRoughness write SetRoughness; |
|
property FdTransparency: TSFFloat read FFdTransparency; |
|
property Transparency: Single read GetTransparency write SetTransparency; |
Description
Methods
destructor Destroy; override; |
|
This item has no description. |
function MaterialInfo: TMaterialInfo; override; |
|
This item has no description. Showing description inherited from TAbstractMaterialNode.MaterialInfo. Material information based on this node. It is automatically updated when properties of this material change. Do not free it yourself, it will be automatically freed when this node is freed. |
procedure CreateNode; override; |
|
Create node fields and events. |
class function ClassX3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DNode.ClassX3DType. Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value. Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there. You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance. |
Properties
property FdBaseColor: TSFColor read FFdBaseColor; |
|
Internal wrapper for property |
property BaseColor: TCastleColorRGB read GetBaseColor write SetBaseColor; |
|
The primary way to control the color of object with physical (PBR) material. |
property FdBaseTexture: TSFNode read FFdBaseTexture; |
|
Internal wrapper for property |
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). |
property FdBaseTextureMapping: TSFString read FFdBaseTextureMapping; |
|
Internal wrapper for property |
property BaseTextureMapping: String read GetBaseTextureMapping write SetBaseTextureMapping; |
|
Determines texture coordinates used by BaseTexture. |
property FdMetallic: TSFFloat read FFdMetallic; |
|
Internal wrapper for property |
property Metallic: Single read GetMetallic write SetMetallic; |
|
The metalness of the material; values range from 0.0 (non-metal) to 1.0 (metal). |
property FdMetallicRoughnessTexture: TSFNode read FFdMetallicRoughnessTexture; |
|
Internal wrapper for property |
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. |
property FdMetallicRoughnessTextureMapping: TSFString read FFdMetallicRoughnessTextureMapping; |
|
Internal wrapper for property |
property MetallicRoughnessTextureMapping: String read GetMetallicRoughnessTextureMapping write SetMetallicRoughnessTextureMapping; |
|
Determines texture coordinates used by MetallicRoughnessTexture. |
property FdOcclusionStrength: TSFFloat read FFdOcclusionStrength; |
|
Internal wrapper for property |
property OcclusionStrength: Single read GetOcclusionStrength write SetOcclusionStrength; |
|
This item has no description. |
property FdOcclusionTexture: TSFNode read FFdOcclusionTexture; |
|
Internal wrapper for property |
property OcclusionTexture: TAbstractSingleTextureNode read GetOcclusionTexture write SetOcclusionTexture; |
|
This item has no description. |
property FdOcclusionTextureMapping: TSFString read FFdOcclusionTextureMapping; |
|
Internal wrapper for property |
property OcclusionTextureMapping: String read GetOcclusionTextureMapping write SetOcclusionTextureMapping; |
|
This item has no description. |
property FdRoughness: TSFFloat read FFdRoughness; |
|
Internal wrapper for property |
property Roughness: Single read GetRoughness write SetRoughness; |
|
The |
property FdTransparency: TSFFloat read FFdTransparency; |
|
Internal wrapper for property |
property Transparency: Single read GetTransparency write SetTransparency; |
|
Setting |
Generated by PasDoc 0.16.0-snapshot.