Property | Type | Description | |
---|---|---|---|
Color | Color | ||
ConstantAttenuation | float | ||
FalloffCurve | |||
FalloffType | AreaLightFalloffType | ||
Intensity | float | ||
LinearAttenuation | float | ||
MaxDist | float | ||
MultSpec | float | ||
QuadraticAttenuation | float | ||
RenderDiffuse | bool | ||
RenderSpecular | bool |
Property | Type | Description | |
---|---|---|---|
m_isDiffuse | bool | ||
m_isSpec | bool | ||
m_lightMaterial | Material | ||
m_normal | Vector3 | ||
m_right | Vector3 | ||
m_type | AreaLightTypes | ||
m_up | Vector3 |
Method | Description | |
---|---|---|
CreateFalloffLookup ( ) : void | ||
Delete ( ) : void | ||
EditorUpdateCallback ( ) : void | ||
GetMaterial ( ) : Material | ||
OnDisable ( ) : void | ||
OnDrawGizmos ( ) : void | ||
OnEnable ( ) : void | ||
PickMaterial ( ) : void | ||
SetAlbedoBuffer ( RenderTexture albedoBuffer ) : void | ||
SetMatrixNormalInverse ( Matrix4x4 matNormalInverse ) : void | ||
SetMatrixViewInverse ( Matrix4x4 matViewInverse ) : void | ||
SetNormalBuffer ( RenderTexture normalBuffer ) : void | ||
SetTransparencyBuffer ( RenderTexture transparencyBuffer ) : void | ||
Update ( ) : void | ||
UpdateMaterial ( ) : void |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Start ( ) : void |
public SetAlbedoBuffer ( RenderTexture albedoBuffer ) : void | ||
albedoBuffer | RenderTexture | |
return | void |
public SetMatrixNormalInverse ( Matrix4x4 matNormalInverse ) : void | ||
matNormalInverse | Matrix4x4 | |
return | void |
public SetMatrixViewInverse ( Matrix4x4 matViewInverse ) : void | ||
matViewInverse | Matrix4x4 | |
return | void |
public SetNormalBuffer ( RenderTexture normalBuffer ) : void | ||
normalBuffer | RenderTexture | |
return | void |
public SetTransparencyBuffer ( RenderTexture transparencyBuffer ) : void | ||
transparencyBuffer | RenderTexture | |
return | void |
public AnimationCurve,UnityEngine FalloffCurve | ||
return |