MirrorMaterial
Defined in: radiance/src/materials/MirrorMaterial.ts:6
A perfect mirror, tinted by its colour.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MirrorMaterial(
p?):MirrorMaterial
Defined in: radiance/src/materials/MirrorMaterial.ts:8
Parameters
Section titled “Parameters”Omit<MaterialParameters, "emissive" | "emissiveIntensity"> = {}
Returns
Section titled “Returns”MirrorMaterial
Overrides
Section titled “Overrides”Properties
Section titled “Properties”
readonlyid:number
Defined in: radiance/src/materials/Material.ts:20
Inherited from
Section titled “Inherited from”name:
string=''
Defined in: radiance/src/materials/Material.ts:22
A name for the author. The renderer does not read it.
Inherited from
Section titled “Inherited from”
readonlytype:number=MATERIAL_MIRROR
Defined in: radiance/src/materials/MirrorMaterial.ts:7
The scattering the kernel applies: 0 diffuse, 1 mirror, 2 physical.
Overrides
Section titled “Overrides”version
Section titled “version”version:
number=0
Defined in: radiance/src/materials/Material.ts:24
Incremented by the setter of every parameter.
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get color():
Color
Defined in: radiance/src/materials/Material.ts:45
The fraction of light reflected, per channel.
Returns
Section titled “Returns”Set Signature
Section titled “Set Signature”set color(
value):void
Defined in: radiance/src/materials/Material.ts:48
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”doubleSided
Section titled “doubleSided”Get Signature
Section titled “Get Signature”get doubleSided():
boolean
Defined in: radiance/src/materials/Material.ts:63
Whether the surface gives off light from its back face too. Default false.
Returns
Section titled “Returns”boolean
Set Signature
Section titled “Set Signature”set doubleSided(
value):void
Defined in: radiance/src/materials/Material.ts:66
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”emissive
Section titled “emissive”Get Signature
Section titled “Get Signature”get emissive():
Color
Defined in: radiance/src/materials/Material.ts:54
The light the surface gives off from its front face, as radiance.
Returns
Section titled “Returns”Set Signature
Section titled “Set Signature”set emissive(
value):void
Defined in: radiance/src/materials/Material.ts:57
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”flatShading
Section titled “flatShading”Get Signature
Section titled “Get Signature”get flatShading():
boolean
Defined in: radiance/src/materials/Material.ts:76
Whether the kernel shades with the geometric normal in place of the interpolated vertex
normals, as three.js’s material.flatShading does. Default false. The geometry and the hits
do not change (design record 0004, “Flat shading”).
Returns
Section titled “Returns”boolean
Set Signature
Section titled “Set Signature”set flatShading(
value):void
Defined in: radiance/src/materials/Material.ts:79
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”void