Class TMaterialProperty

Unit

Declaration

type TMaterialProperty = class(TObject)

Description

Information for a particular material.

Hierarchy

Overview

Properties

Public property TextureBaseName: String read FTextureBaseName write FTextureBaseName; deprecated;
Public property FootstepsSound: TCastleSound read FFootstepsSound write FFootstepsSound; deprecated;
Public property Toxic: Boolean read FToxic write FToxic; deprecated;
Public property ToxicDamageConst: Single read FToxicDamageConst write FToxicDamageConst; deprecated;
Public property ToxicDamageRandom: Single read FToxicDamageRandom write FToxicDamageRandom; deprecated;
Public property ToxicDamageTime: Single read FToxicDamageTime write FToxicDamageTime; deprecated;
Public property NormalMap: String read FNormalMap write FNormalMap; deprecated;
Public property AlphaChannel: String read FAlphaChannel write FAlphaChannel; deprecated;

Description

Properties

Public property TextureBaseName: String read FTextureBaseName write FTextureBaseName; deprecated;

Warning: this symbol is deprecated.

Texture basename to associate this property will all appearances using given texture. For now, this is the only way to associate property, but more are possible in the future (like MaterialNodeName).

All properties affected by this filter are deprecated.

Public property FootstepsSound: TCastleSound read FFootstepsSound write FFootstepsSound; deprecated;

Warning: this symbol is deprecated.

Footsteps sound to make when player is walking on this material. nil if no information is available.

Public property Toxic: Boolean read FToxic write FToxic; deprecated;

Warning: this symbol is deprecated.

Is the floor toxic when walking on it. Taken into account only if you assign TLevel.Player.

Just like TLevel.Player.

Public property ToxicDamageConst: Single read FToxicDamageConst write FToxicDamageConst; deprecated;

Warning: this symbol is deprecated.

 
Public property ToxicDamageRandom: Single read FToxicDamageRandom write FToxicDamageRandom; deprecated;

Warning: this symbol is deprecated.

 
Public property ToxicDamageTime: Single read FToxicDamageTime write FToxicDamageTime; deprecated;

Warning: this symbol is deprecated.

 
Public property NormalMap: String read FNormalMap write FNormalMap; deprecated;

Warning: this symbol is deprecated.

Normal map texture URL. This is a simple method to activate bump mapping, equivalent to using normalMap field in an Appearance node of VRML/X3D, see https://castle-engine.io/x3d_extensions.php#section_ext_bump_mapping .

In case both VRML/X3D Appearance specifies normalMap and we have NormalMap defined here, the VRML/X3D Appearance is used.

Normal maps can be specified comfortably in glTF, X3D, Blender files.

Public property AlphaChannel: String read FAlphaChannel write FAlphaChannel; deprecated;

Warning: this symbol is deprecated.

Override alpha channel type for diffuse texture. The meaning and allowed values for this are the same as for alphaChannel field for texture nodes, see https://castle-engine.io/x3d_extensions.php#section_ext_alpha_channel_detection . Empty value (default) doesn't change the alpha channel type (set in VRML/X3D or auto-detected).

Alpha can be specified comfortably in glTF, X3D, Blender files.


Generated by PasDoc 0.16.0.