Skip to content

reflection(...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

reflection(v: number) : this;

Sets the visibility of the object surface’s reflection data. This requires an environment light with a reflection cubemap assigned to be present in the scene.

Default value: 0

Recommended range: 0 - 1

ParameterTypeDescription
valnumberThe value to set the visibility of the object surface’s reflection data to.

this