Skip to content

Gravity Light

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.

The Gravity Light component contains a directional light within an attitude orient, to simulate a light shining down from above, regardless of the device orientation. It uses the device gyroscope and accelerometer to accomplish this.

The Gravity Light is great for showing off 3D Models that use a standard lighting or toon material.

For more information on the materials that support lighting, please see the Lighting Materials article.

A Gravity Light can be added to your project by clicking on the plus icon + from the Symbol Definitions panel and selecting the Gravity Light component.

Add the Gravity Light to the scene by dragging it from the Symbol Definitions panel into the Hierarchy.

The Gravity Light symbol provides two referenced properties:

PropertyDescription
Light ColorSets the color of the light.
IntensitySets the intensity of the light.