Gravity Light

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.

Creating a Gravity Light Symbol

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.

Using a Gravity Light Symbol

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:

Property Description
Light Color Sets the color of the light.
Intensity Sets the intensity of the light.
zapcode branded_zapcode i