The Light component creates a light in your scene. The default light system supports one directional light, poised on the Headpose camera. This cannot be used in conjunction with other lights. Any light you add to the prism disables the default light. All light nodes default to a white color, but can be modified to use a different light color. Light intensity controls how bright the light is, which ranges from 0 to 1.0. All lights can optionally cast shadows.
|Sets the light color.
|Sets the light intensity.
|Sets the light range.
|Sets the light spot angle (ignored if this is not a spot light).
|Sets the light type.
|Attempts to set the light's shadow casting status. Currently the system supports only one shadow casting light. In landscape mode this light is created by the system and shared by all apps. In immersive mode, the developer is responsible for setting the shadow casting light. Only directional lights can cast shadows. If this function fails, the reason for the failure appears in the log.
|Sets the headpose status of the light. Calling this function and setting
true results in the light using the headpose world transform as its own transform.