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.

Source: scene/x3d/x3dnodes_standard_shape.inc (line 312).

Hierarchy

Overview

Methods

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 destructor Destroy; override;

This item has no description.

Source: scene/x3d/x3dnodes_standard_shape.inc (line 342).

Public 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.

Source: scene/x3d/x3dnodes_standard_shape.inc (line 343).

Public procedure CreateNode; override;

Create node fields and events.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 51).

Public 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.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 52).

Properties

Public property FdBaseColor: TSFColor read FFdBaseColor;

Internal wrapper for property BaseColor. This wrapper API may change, we advise to access simpler BaseColor instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 56).

Public property BaseColor: TCastleColorRGB read GetBaseColor write SetBaseColor;

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

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 58).

Public property FdBaseTexture: TSFNode read FFdBaseTexture;

Internal wrapper for property BaseTexture. This wrapper API may change, we advise to access simpler BaseTexture instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 62).

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).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 64).

Public property FdBaseTextureMapping: TSFString read FFdBaseTextureMapping;

Internal wrapper for property BaseTextureMapping. This wrapper API may change, we advise to access simpler BaseTextureMapping instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 68).

Public property BaseTextureMapping: String read GetBaseTextureMapping write SetBaseTextureMapping;

Determines texture coordinates used by BaseTexture.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 70).

Public property FdMetallic: TSFFloat read FFdMetallic;

Internal wrapper for property Metallic. This wrapper API may change, we advise to access simpler Metallic instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 74).

Public property Metallic: Single read GetMetallic write SetMetallic;

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

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 76).

Public property FdMetallicRoughnessTexture: TSFNode read FFdMetallicRoughnessTexture;

Internal wrapper for property MetallicRoughnessTexture. This wrapper API may change, we advise to access simpler MetallicRoughnessTexture instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 80).

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.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 82).

Public property FdMetallicRoughnessTextureMapping: TSFString read FFdMetallicRoughnessTextureMapping;

Internal wrapper for property MetallicRoughnessTextureMapping. This wrapper API may change, we advise to access simpler MetallicRoughnessTextureMapping instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 86).

Public property MetallicRoughnessTextureMapping: String read GetMetallicRoughnessTextureMapping write SetMetallicRoughnessTextureMapping;

Determines texture coordinates used by MetallicRoughnessTexture.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 88).

Public property FdOcclusionStrength: TSFFloat read FFdOcclusionStrength;

Internal wrapper for property OcclusionStrength. This wrapper API may change, we advise to access simpler OcclusionStrength instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 92).

Public property OcclusionStrength: Single read GetOcclusionStrength write SetOcclusionStrength;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 94).

Public property FdOcclusionTexture: TSFNode read FFdOcclusionTexture;

Internal wrapper for property OcclusionTexture. This wrapper API may change, we advise to access simpler OcclusionTexture instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 98).

Public property OcclusionTexture: TAbstractSingleTextureNode read GetOcclusionTexture write SetOcclusionTexture;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 100).

Public property FdOcclusionTextureMapping: TSFString read FFdOcclusionTextureMapping;

Internal wrapper for property OcclusionTextureMapping. This wrapper API may change, we advise to access simpler OcclusionTextureMapping instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 104).

Public property OcclusionTextureMapping: String read GetOcclusionTextureMapping write SetOcclusionTextureMapping;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 106).

Public property FdRoughness: TSFFloat read FFdRoughness;

Internal wrapper for property Roughness. This wrapper API may change, we advise to access simpler Roughness instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 110).

Public property Roughness: Single read GetRoughness write SetRoughness;

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

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 112).

Public property FdTransparency: TSFFloat read FFdTransparency;

Internal wrapper for property Transparency. This wrapper API may change, we advise to access simpler Transparency instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 116).

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.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_physicalmaterial.inc (line 118).


Generated by PasDoc 0.17.0.snapshot.