Свойство | Тип | Описание | |
---|---|---|---|
Color | Color | ||
ConstantAttenuation | float | ||
FalloffCurve | |||
FalloffType | AreaLightFalloffType | ||
Intensity | float | ||
LinearAttenuation | float | ||
MaxDist | float | ||
MultSpec | float | ||
QuadraticAttenuation | float | ||
RenderDiffuse | bool | ||
RenderSpecular | bool |
Свойство | Тип | Описание | |
---|---|---|---|
m_isDiffuse | bool | ||
m_isSpec | bool | ||
m_lightMaterial | Material | ||
m_normal | Vector3 | ||
m_right | Vector3 | ||
m_type | AreaLightTypes | ||
m_up | Vector3 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
Start ( ) : void |
public SetAlbedoBuffer ( RenderTexture albedoBuffer ) : void | ||
albedoBuffer | RenderTexture | |
Результат | void |
public SetMatrixNormalInverse ( Matrix4x4 matNormalInverse ) : void | ||
matNormalInverse | Matrix4x4 | |
Результат | void |
public SetMatrixViewInverse ( Matrix4x4 matViewInverse ) : void | ||
matViewInverse | Matrix4x4 | |
Результат | void |
public SetNormalBuffer ( RenderTexture normalBuffer ) : void | ||
normalBuffer | RenderTexture | |
Результат | void |
public SetTransparencyBuffer ( RenderTexture transparencyBuffer ) : void | ||
transparencyBuffer | RenderTexture | |
Результат | void |
public AnimationCurve,UnityEngine FalloffCurve | ||
Результат |
public AreaLightFalloffType FalloffType | ||
Результат | AreaLightFalloffType |