UnityEngineLight
API reference for UnityEngineLight.
Properties
| Property | Type | Access |
|---|---|---|
| bakingOutput | UnityEngineLightBakingOutput | get, set |
| bounceIntensity | float | get, set |
| boundingSphereOverride | Vector4 | get, set |
| color | Color | get, set |
| colorTemperature | float | get, set |
| cookie | UnityEngineTexture | get, set |
| cookieSize | float | get, set |
| cullingMask | int | get, set |
| enabled | bool | get, set |
| flare | UnityEngineFlare | get, set |
| gameObject | GameObject | get |
| intensity | float | get, set |
| layerShadowCullDistances | float[] | get, set |
| lightShadowCasterMode | UnityEngineLightShadowCasterMode | get, set |
| name | string | get, set |
| range | float | get, set |
| renderMode | UnityEngineLightRenderMode | get, set |
| shadowBias | float | get, set |
| shadowCustomResolution | int | get, set |
| shadowMatrixOverride | UnityEngineMatrix4x4 | get, set |
| shadowNearPlane | float | get, set |
| shadowNormalBias | float | get, set |
| shadowResolution | UnityEngineRenderingLightShadowResolution | get, set |
| shadows | UnityEngineLightShadows | get, set |
| shadowStrength | float | get, set |
| spotAngle | float | get, set |
| transform | Transform | get |
| type | UnityEngineLightType | get, set |
| useBoundingSphereOverride | bool | get, set |
| useColorTemperature | bool | get, set |
| useShadowMatrixOverride | bool | get, set |
| useViewFrustumForShadowCasterCull | bool | get, set |
Methods
Equals
Equals(other: object) -> boolGetComponent
GetComponent(type: string) -> UnityEngineComponentGetComponent(type: SystemType) -> UnityEngineComponentGetComponent(type: SystemType) -> UnityEngineObjectGetComponentInChildren
GetComponentInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObjectGetComponentInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponentGetComponentInChildren(t: SystemType) -> UnityEngineComponentGetComponentInChildren(type: SystemType) -> UnityEngineObjectGetComponentInParent
GetComponentInParent(includeInactive: bool, type: SystemType) -> UnityEngineObjectGetComponentInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponentGetComponentInParent(t: SystemType) -> UnityEngineComponentGetComponentInParent(type: SystemType) -> UnityEngineObjectGetComponents
GetComponents(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> voidGetComponents(type: SystemType, results: SystemCollectionsGenericList`1[[UnityEngineComponent, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponents(type: SystemType) -> UnityEngineComponent[]GetComponents(type: SystemType) -> UnityEngineObject[]GetComponentsInChildren
GetComponentsInChildren(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> voidGetComponentsInChildren(includeInactive: bool, result: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponentsInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObject[]GetComponentsInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]GetComponentsInChildren(t: SystemType) -> UnityEngineComponent[]GetComponentsInChildren(type: SystemType) -> UnityEngineObject[]GetComponentsInParent
GetComponentsInParent(includeInactive: bool, results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponentsInParent(includeInactive: bool, type: SystemType) -> UnityEngineObject[]GetComponentsInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]GetComponentsInParent(t: SystemType) -> UnityEngineComponent[]GetComponentsInParent(type: SystemType) -> UnityEngineObject[]GetHashCode
GetHashCode() -> intGetInstanceID
GetInstanceID() -> intGetType
GetType() -> SystemTypeReset
Reset() -> voidToString
ToString() -> string