Rendering_Universal::​Light2D
U2D::​Light2DBase
Rendering_Universal::​Light2D

class:/TYPE/UnityEngine.Rendering.Universal.Light2D//, can be loaded from an assetbundle using Rendering_Universal::Light2D::createfromassetbundle(bundlename,prefabname) /

Parent

U2D::Light2DBase

Variables
blendstyleindex
System.Int32 blendstyleindex
color
UnityEngine.Color color
falloffintensity
readonly System.Single falloffintensity
intensity
System.Single intensity
lightcookiesprite
readonly UnityEngine.Sprite lightcookiesprite
lightorder
System.Int32 lightorder
lighttype
UnityEngine.Rendering.Universal.Light2D.LightType lighttype
normalmapdistance
readonly System.Single normalmapdistance
normalmapquality
readonly UnityEngine.Rendering.Universal.Light2D.NormalMapQuality normalmapquality
overlapoperation
readonly UnityEngine.Rendering.Universal.Light2D.OverlapOperation overlapoperation
pointlightinnerangle
System.Single pointlightinnerangle
pointlightinnerradius
System.Single pointlightinnerradius
pointlightouterangle
System.Single pointlightouterangle
pointlightouterradius
System.Single pointlightouterradius
rendervolumetricshadows
readonly System.Boolean rendervolumetricshadows
shadowintensity
System.Single shadowintensity
shadowradius
System.Single shadowradius
shadowsenabled
System.Boolean shadowsenabled
shadowvolumeintensity
System.Single shadowvolumeintensity
shapelightfalloffsize
readonly System.Single shapelightfalloffsize
shapelightparametricangleoffset
readonly System.Single shapelightparametricangleoffset
shapelightparametricradius
readonly System.Single shapelightparametricradius
shapelightparametricsides
readonly System.Int32 shapelightparametricsides
shapepath
readonly UnityEngine.Vector3[] shapepath
volumeintensity
readonly System.Single volumeintensity
volumeintensityenabled
System.Boolean volumeintensityenabled
volumetricshadowsenabled
System.Boolean volumetricshadowsenabled
Functions
onafterdeserialize
System.Void OnAfterDeserialize()
Returns

System.Void

onbeforeserialize
System.Void OnBeforeSerialize()
Returns

System.Void

rendering_universal::​light2d::​create
static UnityEngine.Rendering.Universal.Light2D Create ()

Constructor replaces new;

Returns

UnityEngine.Rendering.Universal.Light2D

rendering_universal::​light2d::​fromassetbundle
static UnityEngine.Rendering.Universal.Light2D CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Rendering.Universal.Light2D