Zum Hauptinhalt springen

ShadowMaterial

ecs.ShadowMaterial

Description

The ShadowMaterial component defines the shadow behavior of an entity.

Functions

See component schema.

Schema

PropertyTypeDescription
rNumberRed channel value of the material [0...255]
gNumberGreen channel value of the material [0...255]
bNumberBlue channel value of the material [0...255]
opacityNumberOverall alpha/transparency of the material [0...1]
sideStringWhich sides of faces will be rendered. Choose from front, back, or double.
depthTestBooleanWhether to test depth when rendering this material (true by default)
depthWriteBooleanWhether rendering this material impacts the depth buffer (true by default)