Class Light2D
Class Light2D
is a 2D light which can be used with the 2D Renderer.
상속된 멤버
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
네임스페이스: UnityEngine.Experimental.Rendering.Universal
어셈블리: solution.dll
구문
[ExecuteAlways]
[DisallowMultipleComponent]
[AddComponentMenu("Rendering/2D/Light 2D (Experimental)")]
public sealed class Light2D : MonoBehaviour
프로퍼티
이름 | 설명 |
---|---|
alphaBlendOnOverlap | |
blendStyleIndex | The lights current operation index |
color | The lights current color |
falloffIntensity | |
intensity | The lights current intensity |
lightCookieSprite | |
lightOrder | |
lightType | The lights current type |
pointLightDistance | |
pointLightInnerAngle | |
pointLightInnerRadius | |
pointLightOuterAngle | |
pointLightOuterRadius | |
pointLightQuality | |
shadowIntensity | Specifies the darkness of the shadow |
shadowVolumeIntensity | Specifies the darkness of the shadow |
shapeLightFalloffOffset | |
shapeLightFalloffSize | |
shapeLightParametricAngleOffset | |
shapeLightParametricRadius | |
shapeLightParametricSides | |
shapePath | |
useNormalMap | |
volumeOpacity | The lights current intensity |