Click or drag to resize

Light Properties

The Light type exposes the following members.

Properties
 NameDescription
Public propertyAnyData The user data of the component.
(Inherited from Component)
Public propertyAttenuationFar The maximum distance of the source light.
Public propertyAttenuationNear The minimum distance of the source light.
Public propertyAttenuationPower The multiplier of light attenuation power.
Public propertyBaseType Gets the base type of the object.
(Inherited from Component)
Public propertyBrightness The light's brightness.
Public propertyCanBeSelected Whether the object is selectable in the scene view.
(Inherited from ObjectInSpace)
Public propertyCanBeSelectedInHierarchy
(Inherited from ObjectInSpace)
Public propertyCloneSupport Whether the object supports cloning.
(Inherited from Component)
Public propertyColor The color of emitted light.
Public propertyComponents Gets the collection of the child components.
(Inherited from Component)
Public propertyCreatedByBaseType Whether the object is created using a base type.
(Inherited from Component)
Public propertyDisplayInEditor Whether to show the object in the editor.
(Inherited from Component)
Public propertyDisposed Whether the object is disposed.
(Inherited from Component)
Public propertyEditorDocumentConfiguration Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component)
Public propertyEditorReadOnly Whether the object is read only in the editor.
(Inherited from Component)
Public propertyEditorReadOnlyInHierarchy Whether the object is read-only in the editor with respect to parent objects.
(Inherited from Component)
Public propertyEnabled Whether the component is enabled. Any functionality of component is not works when it disabled.
(Inherited from Component)
Public propertyEnabledInHierarchy Determines whether the object is attached to a hierarchy of the components and enabled. The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component)
Public propertyEnabledInHierarchyAndIsInstance Determines when the object is attached to a hierarchy of the components, is enabled and the object if not part of a resource (it is usual object instance). The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component)
Public propertyEnabledSelectionByCursor
(Inherited from ObjectInSpace)
Public propertyFlareBlending The method of drawing the image of the flare on the screen.
Public propertyFlareColor The color of the flare.
Public propertyFlareDepthCheckOffset 
Public propertyFlareImage The image of the flare.
Public propertyFlarePosition The position of the flare.
Public propertyFlareSize The size of the flare. It is indicated as a ratio of screen size vertically.
Public propertyFlareSizeFadeByDistance 
Public propertyHierarchyController Gets the object hierarchy control controller.
(Inherited from Component)
Public propertyIsResource
(Inherited from Component)
Public propertyMask The light mask used by the light source.
Public propertyMaskTransform The position, rotation and scale of the light mask.
Public propertyName The name of the component.
(Inherited from Component)
Public propertyNetworkID
(Inherited from Component)
Public propertyNetworkIsClient
(Inherited from Component)
Public propertyNetworkIsServer Whether to work in network server mode. It is false until the scene is not loaded.
(Inherited from Component)
Public propertyNetworkIsSingle
(Inherited from Component)
Public propertyNetworkIsSingleOrClient
(Inherited from Component)
Public propertyNetworkMode Whether to enable synchronization of the component between server and clients.
(Inherited from Component)
Public propertyNetworkModeUsers
(Inherited from Component)
Public propertyParent Gets the parent object.
(Inherited from Component)
Public propertyParentRoot Gets the parent root object.
(Inherited from Component)
Public propertyParentScene
(Inherited from ObjectInSpace)
Public propertyRemainingLifetime The lifetime of the component during the simulation.
(Inherited from ObjectInSpace)
Public propertyRemoveFromParentQueued Whether the object is placed in the detach queue from the parent.
(Inherited from Component)
Public propertySaveSupport Whether the object supports saving to a file.
(Inherited from Component)
Public propertyScreenLabel The displaying mode of an on-screen label of the component in the scene editor.
(Inherited from Component)
Public propertyShadowBias Shadow bias moves the shadow away from the light source. Adjusting it may help to fix shadow artifacts.
Public propertyShadowContact Whether to detail the shadows by means the screen-space contact shadows technique. The contact shadows works only for deferred shading.
Public propertyShadowContactLength The maximal length of the contact shadows.
Public propertyShadowIntensity The intensity of the shadows.
Public propertyShadowLODWorst Whether to use worst lod, usually voxel, for the shadow generation step. Use for not important light sources.
Public propertyShadowNearClipDistance The precision and minimal distance from the light source to generate shadows.
Public propertyShadowNormalBias Normal bias moves the shadow perpendicular to the shadowed surface. Adjusting it may help to fix shadow artifacts.
Public propertyShadows If active, the light will cast shadows on the surfaces.
Public propertyShadowSoftness The softness multiplier of shadows.
Public propertyShadowStatic Whether to enable static shadow optimization for this light. Only for Point and Spot lights.
Public propertyShadowTextureSize A method to get the size of a shadow map.
Public propertyShadowTextureSizeValue The size of a shadow texture.
Public propertySpaceBounds
(Inherited from ObjectInSpace)
Public propertySpaceBoundsOctreeOverride
(Inherited from ObjectInSpace)
Public propertySpaceBoundsOverride
(Inherited from ObjectInSpace)
Public propertySpotlightClipPlanes Returns 10 planes. Order: backward plane (0), far distance plane (1) and 8 side planes (2-9).
Public propertySpotlightFalloff The spot light fall-off.
Public propertySpotlightInnerAngle The inner angle of the spot light.
Public propertySpotlightOuterAngle The outer angle of the spot light.
Public propertyStartDistance The distance of lighting effect from the light position.
Public propertyTransform The position, rotation and scale of the object.
(Inherited from ObjectInSpace)
Public propertyTransformV Simplier form of Transform.Value.
(Inherited from ObjectInSpace)
Public propertyType The type of light source.
Public propertyTypeSettingsPrivateObjects Object settings when used as a type.
(Inherited from Component)
Public propertyVisible Whether the object is visible in the scene.
(Inherited from ObjectInSpace)
Public propertyVisibleInHierarchy
(Inherited from ObjectInSpace)
Top
See Also