Element3D → Object

Light3D Class

Allows you to define your own lights for use in RB3DSpace worlds.

Properties
Attenuation
Brightness
Direction
LightColor
Position

# Notes

It is invalid to use a light with Position and Direction either both Nil, or both non-nil.

If the Attenuation value is 1 or 2, the effect of the light decreases with distance; so you may need to increase the Brightness substantially or make your objects smaller and closer to the light.

# See Also

Bounds3D, ColorList, Element3D, Group3D, Light3D, Material, Object3D, Quaternion, TriangleList, Trimesh, UVList, Vector3D, VectorList classes; RB3DSpace control.