Class TTwoSidedMaterialNode

Unit

Declaration

type TTwoSidedMaterialNode = class(TAbstractMaterialNode)

Description

Warning: this symbol is deprecated.

Note: Whether the shape is visible from both sides depends on the geometry TAbstractGeometryNode.Solid field, and is independent of whether you use this or other (one-sided) 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 FdAmbientIntensity: TSFFloat read FFdAmbientIntensity;
Public property AmbientIntensity: Single read GetAmbientIntensity write SetAmbientIntensity;
Public property FdBackAmbientIntensity: TSFFloat read FFdBackAmbientIntensity;
Public property BackAmbientIntensity: Single read GetBackAmbientIntensity write SetBackAmbientIntensity;
Public property FdBackDiffuseColor: TSFColor read FFdBackDiffuseColor;
Public property BackDiffuseColor: TCastleColorRGB read GetBackDiffuseColor write SetBackDiffuseColor;
Public property FdBackEmissiveColor: TSFColor read FFdBackEmissiveColor;
Public property BackEmissiveColor: TCastleColorRGB read GetBackEmissiveColor write SetBackEmissiveColor;
Public property FdBackShininess: TSFFloat read FFdBackShininess;
Public property BackShininess: Single read GetBackShininess write SetBackShininess;
Public property FdBackSpecularColor: TSFColor read FFdBackSpecularColor;
Public property BackSpecularColor: TCastleColorRGB read GetBackSpecularColor write SetBackSpecularColor;
Public property FdBackTransparency: TSFFloat read FFdBackTransparency;
Public property BackTransparency: Single read GetBackTransparency write SetBackTransparency;
Public property FdDiffuseColor: TSFColor read FFdDiffuseColor;
Public property DiffuseColor: TCastleColorRGB read GetDiffuseColor write SetDiffuseColor;
Public property FdEmissiveColor: TSFColor read FFdEmissiveColor;
Public property EmissiveColor: TCastleColorRGB read GetEmissiveColor write SetEmissiveColor;
Public property FdShininess: TSFFloat read FFdShininess;
Public property Shininess: Single read GetShininess write SetShininess;
Public property FdSeparateBackColor: TSFBool read FFdSeparateBackColor;
Public property SeparateBackColor: Boolean read GetSeparateBackColor write SetSeparateBackColor;
Public property FdSpecularColor: TSFColor read FFdSpecularColor;
Public property SpecularColor: TCastleColorRGB read GetSpecularColor write SetSpecularColor;
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;

This item has no description. Showing description inherited from TX3DNode.Create.

Constructor. Initializes various properties:

  • Name, BaseUrl are initialized from given parameters.

  • The Fields, Events lists are filled in every descendant, to have all the fields/events defined by the specification.

  • DefaultContainerField, and other node-specific stuff, is filled in descendants. This is actually implemented in CreateNode, that is called at the end of this constructor.

Public destructor Destroy; override;

This item has no description.

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.

Public 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

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.

Properties

Public property FdAmbientIntensity: TSFFloat read FFdAmbientIntensity;

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

Public property AmbientIntensity: Single read GetAmbientIntensity write SetAmbientIntensity;

This item has no description.

Public property FdBackAmbientIntensity: TSFFloat read FFdBackAmbientIntensity;

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

Public property BackAmbientIntensity: Single read GetBackAmbientIntensity write SetBackAmbientIntensity;

This item has no description.

Public property FdBackDiffuseColor: TSFColor read FFdBackDiffuseColor;

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

Public property BackDiffuseColor: TCastleColorRGB read GetBackDiffuseColor write SetBackDiffuseColor;

This item has no description.

Public property FdBackEmissiveColor: TSFColor read FFdBackEmissiveColor;

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

Public property BackEmissiveColor: TCastleColorRGB read GetBackEmissiveColor write SetBackEmissiveColor;

This item has no description.

Public property FdBackShininess: TSFFloat read FFdBackShininess;

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

Public property BackShininess: Single read GetBackShininess write SetBackShininess;

This item has no description.

Public property FdBackSpecularColor: TSFColor read FFdBackSpecularColor;

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

Public property BackSpecularColor: TCastleColorRGB read GetBackSpecularColor write SetBackSpecularColor;

This item has no description.

Public property FdBackTransparency: TSFFloat read FFdBackTransparency;

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

Public property BackTransparency: Single read GetBackTransparency write SetBackTransparency;

This item has no description.

Public property FdDiffuseColor: TSFColor read FFdDiffuseColor;

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

Public property DiffuseColor: TCastleColorRGB read GetDiffuseColor write SetDiffuseColor;

This item has no description.

Public property FdEmissiveColor: TSFColor read FFdEmissiveColor;

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

Public property EmissiveColor: TCastleColorRGB read GetEmissiveColor write SetEmissiveColor;

This item has no description.

Public property FdShininess: TSFFloat read FFdShininess;

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

Public property Shininess: Single read GetShininess write SetShininess;

This item has no description.

Public property FdSeparateBackColor: TSFBool read FFdSeparateBackColor;

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

Public property SeparateBackColor: Boolean read GetSeparateBackColor write SetSeparateBackColor;

This item has no description.

Public property FdSpecularColor: TSFColor read FFdSpecularColor;

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

Public property SpecularColor: TCastleColorRGB read GetSpecularColor write SetSpecularColor;

This item has no description.

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;

This item has no description.


Generated by PasDoc 0.16.0.