C# Class AreaLight, TheUnseen

Inheritance: MonoBehaviour
Exibir arquivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
Color Color
ConstantAttenuation float
FalloffCurve UnityEngine.AnimationCurve
FalloffType AreaLightFalloffType
Intensity float
LinearAttenuation float
MaxDist float
MultSpec float
QuadraticAttenuation float
RenderDiffuse bool
RenderSpecular bool

Protected Properties

Property Type Description
m_isDiffuse bool
m_isSpec bool
m_lightMaterial Material
m_normal Vector3
m_right Vector3
m_type AreaLightTypes
m_up Vector3

Public Methods

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

Protected Methods

Method Description
Awake ( ) : void
Start ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

CreateFalloffLookup() public method

public CreateFalloffLookup ( ) : void
return void

Delete() public method

public Delete ( ) : void
return void

EditorUpdateCallback() public method

public EditorUpdateCallback ( ) : void
return void

GetMaterial() public method

public GetMaterial ( ) : Material
return Material

OnDisable() public method

public OnDisable ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

PickMaterial() public method

public PickMaterial ( ) : void
return void

SetAlbedoBuffer() public method

public SetAlbedoBuffer ( RenderTexture albedoBuffer ) : void
albedoBuffer RenderTexture
return void

SetMatrixNormalInverse() public method

public SetMatrixNormalInverse ( Matrix4x4 matNormalInverse ) : void
matNormalInverse Matrix4x4
return void

SetMatrixViewInverse() public method

public SetMatrixViewInverse ( Matrix4x4 matViewInverse ) : void
matViewInverse Matrix4x4
return void

SetNormalBuffer() public method

public SetNormalBuffer ( RenderTexture normalBuffer ) : void
normalBuffer RenderTexture
return void

SetTransparencyBuffer() public method

public SetTransparencyBuffer ( RenderTexture transparencyBuffer ) : void
transparencyBuffer RenderTexture
return void

Start() protected method

protected Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateMaterial() public method

public UpdateMaterial ( ) : void
return void

Property Details

Color public_oe property

public Color Color
return Color

ConstantAttenuation public_oe property

public float ConstantAttenuation
return float

FalloffCurve public_oe property

public AnimationCurve,UnityEngine FalloffCurve
return UnityEngine.AnimationCurve

FalloffType public_oe property

public AreaLightFalloffType FalloffType
return AreaLightFalloffType

Intensity public_oe property

public float Intensity
return float

LinearAttenuation public_oe property

public float LinearAttenuation
return float

MaxDist public_oe property

public float MaxDist
return float

MultSpec public_oe property

public float MultSpec
return float

QuadraticAttenuation public_oe property

public float QuadraticAttenuation
return float

RenderDiffuse public_oe property

public bool RenderDiffuse
return bool

RenderSpecular public_oe property

public bool RenderSpecular
return bool

m_isDiffuse protected_oe property

protected bool m_isDiffuse
return bool

m_isSpec protected_oe property

protected bool m_isSpec
return bool

m_lightMaterial protected_oe property

protected Material m_lightMaterial
return Material

m_normal protected_oe property

protected Vector3 m_normal
return Vector3

m_right protected_oe property

protected Vector3 m_right
return Vector3

m_type protected_oe property

protected AreaLightTypes m_type
return AreaLightTypes

m_up protected_oe property

protected Vector3 m_up
return Vector3