UnityEngine.Light
class UnityEngine.Light
Fields and Properties:
- UnityEngine.LightType type
- UnityEngine.LightShape shape
- float spotAngle
- float innerSpotAngle
- UnityEngine.Color color
- float colorTemperature
- bool useColorTemperature
- float intensity
- float bounceIntensity
- bool useBoundingSphereOverride
- UnityEngine.Vector4 boundingSphereOverride
- bool useViewFrustumForShadowCasterCull
- int shadowCustomResolution
- float shadowBias
- float shadowNormalBias
- float shadowNearPlane
- bool useShadowMatrixOverride
- UnityEngine.Matrix4x4 shadowMatrixOverride
- float range
- UnityEngine.Flare flare
- UnityEngine.LightBakingOutput bakingOutput
- int cullingMask
- int renderingLayerMask
- UnityEngine.LightShadowCasterMode lightShadowCasterMode
- float shadowRadius
- float shadowAngle
- UnityEngine.LightShadows shadows
- float shadowStrength
- UnityEngine.Rendering.LightShadowResolution shadowResolution
- float shadowSoftness
- float shadowSoftnessFade
- float[] layerShadowCullDistances
- float cookieSize
- UnityEngine.Texture cookie
- UnityEngine.LightRenderMode renderMode
- int bakedIndex
- UnityEngine.Vector2 areaSize
- UnityEngine.LightmapBakeType lightmapBakeType
- int commandBufferCount
- (static) int UnityEngine.Light.pixelLightCount
- float shadowConstantBias
- float shadowObjectSizeBias
- bool attenuate
- UnityEngine.LightmappingMode lightmappingMode
- bool isBaked
- bool alreadyLightmapped
Constructors:
- UnityEngine.Light.New()
Methods:
- void Reset()
- void SetLightDirty()
- void AddCommandBuffer(UnityEngine.Rendering.LightEvent, UnityEngine.Rendering.CommandBuffer)
- void AddCommandBuffer(UnityEngine.Rendering.LightEvent, UnityEngine.Rendering.CommandBuffer, UnityEngine.Rendering.ShadowMapPass)
- void AddCommandBufferAsync(UnityEngine.Rendering.LightEvent, UnityEngine.Rendering.CommandBuffer, UnityEngine.Rendering.ComputeQueueType)
- void AddCommandBufferAsync(UnityEngine.Rendering.LightEvent, UnityEngine.Rendering.CommandBuffer, UnityEngine.Rendering.ShadowMapPass, UnityEngine.Rendering.ComputeQueueType)
- void RemoveCommandBuffer(UnityEngine.Rendering.LightEvent, UnityEngine.Rendering.CommandBuffer)
- void RemoveCommandBuffers(UnityEngine.Rendering.LightEvent)
- void RemoveAllCommandBuffers()
- UnityEngine.Rendering.CommandBuffer[] GetCommandBuffers(UnityEngine.Rendering.LightEvent)
- (static) UnityEngine.Light[] UnityEngine.Light.GetLights(UnityEngine.LightType, int)