Light Properties |
The Light type exposes the following members.
Name | Description | |
---|---|---|
AnyData |
The user data of the component.
(Inherited from Component.) | |
AttenuationFar |
The maximum distance of the source light.
| |
AttenuationNear |
The minimum distance of the source light.
| |
AttenuationPower |
The multiplier of light attenuation power.
| |
BaseType |
Gets the base type of the object.
(Inherited from Component.) | |
Brightness |
The light's brightness.
| |
CanBeSelected |
Whether the object is selectable in the scene view.
(Inherited from ObjectInSpace.) | |
CanBeSelectedInHierarchy | (Inherited from ObjectInSpace.) | |
CloneSupport |
Whether the object supports cloning.
(Inherited from Component.) | |
Color |
The color of emitted light.
| |
Components |
Gets the collection of the child components.
(Inherited from Component.) | |
CreatedByBaseType |
Whether the object is created using a base type.
(Inherited from Component.) | |
DisplayInEditor |
Whether to show the object in the editor.
(Inherited from Component.) | |
Disposed |
Whether the object is disposed.
(Inherited from Component.) | |
EditorDocumentConfiguration |
Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component.) | |
EditorReadOnly |
Whether the object is read only in the editor.
(Inherited from Component.) | |
EditorReadOnlyInHierarchy |
Whether the object is read-only in the editor with respect to parent objects.
(Inherited from Component.) | |
Enabled |
Whether the component is enabled. Any functionality of component is not works when it disabled.
(Inherited from Component.) | |
EnabledInHierarchy |
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.) | |
EnabledInHierarchyAndIsInstance |
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.) | |
EnabledSelectionByCursor | (Inherited from ObjectInSpace.) | |
FlareBlending |
The method of drawing the image of the flare on the screen.
| |
FlareColor |
The color of the flare.
| |
FlareDepthCheckOffset | ||
FlareImage |
The image of the flare.
| |
FlarePosition |
The position of the flare.
| |
FlareSize |
The size of the flare. It is indicated as a ratio of screen size vertically.
| |
FlareSizeFadeByDistance | ||
HierarchyController |
Gets the object hierarchy control controller.
(Inherited from Component.) | |
Mask |
The light mask used by the light source.
| |
MaskTransform |
The position, rotation and scale of the light mask.
| |
Name |
The name of the component.
(Inherited from Component.) | |
NetworkID | (Inherited from Component.) | |
NetworkIsClient | (Inherited from Component.) | |
NetworkIsServer |
Whether to work in network server mode. It is false until the scene is not loaded.
(Inherited from Component.) | |
NetworkIsSingle | (Inherited from Component.) | |
NetworkIsSingleOrClient | (Inherited from Component.) | |
NetworkMode |
Whether to enable synchronization of the component between server and clients.
(Inherited from Component.) | |
NetworkModeUsers | (Inherited from Component.) | |
Parent |
Gets the parent object.
(Inherited from Component.) | |
ParentRoot |
Gets the parent root object.
(Inherited from Component.) | |
ParentScene | (Inherited from ObjectInSpace.) | |
RemainingLifetime |
The lifetime of the component during the simulation.
(Inherited from ObjectInSpace.) | |
RemoveFromParentQueued |
Whether the object is placed in the detach queue from the parent.
(Inherited from Component.) | |
SaveSupport |
Whether the object supports saving to a file.
(Inherited from Component.) | |
ScreenLabel |
The displaying mode of an on-screen label of the component in the scene editor.
(Inherited from Component.) | |
ShadowBias |
Shadow bias moves the shadow away from the light source. Adjusting it may help to fix shadow artifacts.
| |
ShadowContact |
Whether to detail the shadows by means the screen-space contact shadows technique. The contact shadows works only for deferred shading.
| |
ShadowContactLength |
The maximal length of the contact shadows.
| |
ShadowIntensity |
The intensity of the shadows.
| |
ShadowNearClipDistance |
The minimal distance from the light source to generate shadows.
| |
ShadowNormalBias |
Normal bias moves the shadow perpendicular to the shadowed surface. Adjusting it may help to fix shadow artifacts.
| |
Shadows |
If active, the light will cast shadows on the surfaces.
| |
ShadowSoftness |
The softness multiplier of shadows.
| |
ShadowStatic |
Whether to enable static shadow optimization for this light. Only for Point and Spot lights.
| |
ShadowTextureSize |
A method to get the size of a shadow map.
| |
ShadowTextureSizeValue |
The size of a shadow texture.
| |
SpaceBounds | (Inherited from ObjectInSpace.) | |
SpaceBoundsOctreeOverride | (Inherited from ObjectInSpace.) | |
SpaceBoundsOverride | (Inherited from ObjectInSpace.) | |
SpotlightClipPlanes |
Returns 10 planes. Order: backward plane (0), far distance plane (1) and 8 side planes (2-9).
| |
SpotlightFalloff |
The spot light fall-off.
| |
SpotlightInnerAngle |
The inner angle of the spot light.
| |
SpotlightOuterAngle |
The outer angle of the spot light.
| |
StartDistance |
The distance of lighting effect from the light position.
| |
Transform |
The position, rotation and scale of the object.
(Inherited from ObjectInSpace.) | |
TransformV |
Simplier form of Transform.Value.
(Inherited from ObjectInSpace.) | |
Type |
The type of light source.
| |
TypeSettingsPrivateObjects |
Object settings when used as a type.
(Inherited from Component.) | |
Visible |
Whether the object is visible in the scene.
(Inherited from ObjectInSpace.) | |
VisibleInHierarchy | (Inherited from ObjectInSpace.) |