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
![]() |
constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override; |
![]() |
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
![]() |
constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override; |
This item has no description. Showing description inherited from TX3DNode.Create. Constructor. Initializes various properties:
|
![]() |
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; |
This item has no description. Showing description inherited from TAbstractMaterialNode.CreateNode. Automatically generated node properties. Do not edit this file manually! To add new properties: - add them to the text files in tools/internal/x3d-nodes-to-pascal/nodes-specification/ , - and regenerate include files by running x3d-nodes-to-pascal |
![]() |
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 BaseColor. This wrapper API may change, we advise to access simpler BaseColor instead. |
![]() |
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 BaseTexture. This wrapper API may change, we advise to access simpler BaseTexture instead. |
![]() |
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 BaseTextureMapping. This wrapper API may change, we advise to access simpler BaseTextureMapping instead. |
![]() |
property BaseTextureMapping: String read GetBaseTextureMapping write SetBaseTextureMapping; |
Determines texture coordinates used by BaseTexture. |
![]() |
property FdMetallic: TSFFloat read FFdMetallic; |
Internal wrapper for property Metallic. This wrapper API may change, we advise to access simpler Metallic instead. |
![]() |
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 MetallicRoughnessTexture. This wrapper API may change, we advise to access simpler MetallicRoughnessTexture instead. |
![]() |
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 MetallicRoughnessTextureMapping. This wrapper API may change, we advise to access simpler MetallicRoughnessTextureMapping instead. |
![]() |
property MetallicRoughnessTextureMapping: String read GetMetallicRoughnessTextureMapping write SetMetallicRoughnessTextureMapping; |
Determines texture coordinates used by MetallicRoughnessTexture. |
![]() |
property FdOcclusionStrength: TSFFloat read FFdOcclusionStrength; |
Internal wrapper for property OcclusionStrength. This wrapper API may change, we advise to access simpler OcclusionStrength instead. |
![]() |
property OcclusionStrength: Single read GetOcclusionStrength write SetOcclusionStrength; |
This item has no description. |
![]() |
property FdOcclusionTexture: TSFNode read FFdOcclusionTexture; |
Internal wrapper for property OcclusionTexture. This wrapper API may change, we advise to access simpler OcclusionTexture instead. |
![]() |
property OcclusionTexture: TAbstractSingleTextureNode read GetOcclusionTexture write SetOcclusionTexture; |
This item has no description. |
![]() |
property FdOcclusionTextureMapping: TSFString read FFdOcclusionTextureMapping; |
Internal wrapper for property OcclusionTextureMapping. This wrapper API may change, we advise to access simpler OcclusionTextureMapping instead. |
![]() |
property OcclusionTextureMapping: String read GetOcclusionTextureMapping write SetOcclusionTextureMapping; |
This item has no description. |
![]() |
property FdRoughness: TSFFloat read FFdRoughness; |
Internal wrapper for property Roughness. This wrapper API may change, we advise to access simpler Roughness instead. |
![]() |
property Roughness: Single read GetRoughness write SetRoughness; |
The |
![]() |
property FdTransparency: TSFFloat read FFdTransparency; |
Internal wrapper for property Transparency. This wrapper API may change, we advise to access simpler Transparency instead. |
![]() |
property Transparency: Single read GetTransparency write SetTransparency; |
Setting |
Generated by PasDoc 0.16.0-snapshot.