C# Class AreaLight, TheUnseen

Inheritance: MonoBehaviour
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство 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

Свойство Type Description
m_isDiffuse bool
m_isSpec bool
m_lightMaterial Material
m_normal Vector3
m_right Vector3
m_type AreaLightTypes
m_up Vector3

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Awake ( ) : void
Start ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CreateFalloffLookup() public méthode

public CreateFalloffLookup ( ) : void
Résultat void

Delete() public méthode

public Delete ( ) : void
Résultat void

EditorUpdateCallback() public méthode

public EditorUpdateCallback ( ) : void
Résultat void

GetMaterial() public méthode

public GetMaterial ( ) : Material
Résultat Material

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

PickMaterial() public méthode

public PickMaterial ( ) : void
Résultat void

SetAlbedoBuffer() public méthode

public SetAlbedoBuffer ( RenderTexture albedoBuffer ) : void
albedoBuffer RenderTexture
Résultat void

SetMatrixNormalInverse() public méthode

public SetMatrixNormalInverse ( Matrix4x4 matNormalInverse ) : void
matNormalInverse Matrix4x4
Résultat void

SetMatrixViewInverse() public méthode

public SetMatrixViewInverse ( Matrix4x4 matViewInverse ) : void
matViewInverse Matrix4x4
Résultat void

SetNormalBuffer() public méthode

public SetNormalBuffer ( RenderTexture normalBuffer ) : void
normalBuffer RenderTexture
Résultat void

SetTransparencyBuffer() public méthode

public SetTransparencyBuffer ( RenderTexture transparencyBuffer ) : void
transparencyBuffer RenderTexture
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateMaterial() public méthode

public UpdateMaterial ( ) : void
Résultat void

Property Details

Color public_oe property

public Color Color
Résultat Color

ConstantAttenuation public_oe property

public float ConstantAttenuation
Résultat float

FalloffCurve public_oe property

public AnimationCurve,UnityEngine FalloffCurve
Résultat UnityEngine.AnimationCurve

FalloffType public_oe property

public AreaLightFalloffType FalloffType
Résultat AreaLightFalloffType

Intensity public_oe property

public float Intensity
Résultat float

LinearAttenuation public_oe property

public float LinearAttenuation
Résultat float

MaxDist public_oe property

public float MaxDist
Résultat float

MultSpec public_oe property

public float MultSpec
Résultat float

QuadraticAttenuation public_oe property

public float QuadraticAttenuation
Résultat float

RenderDiffuse public_oe property

public bool RenderDiffuse
Résultat bool

RenderSpecular public_oe property

public bool RenderSpecular
Résultat bool

m_isDiffuse protected_oe property

protected bool m_isDiffuse
Résultat bool

m_isSpec protected_oe property

protected bool m_isSpec
Résultat bool

m_lightMaterial protected_oe property

protected Material m_lightMaterial
Résultat Material

m_normal protected_oe property

protected Vector3 m_normal
Résultat Vector3

m_right protected_oe property

protected Vector3 m_right
Résultat Vector3

m_type protected_oe property

protected AreaLightTypes m_type
Résultat AreaLightTypes

m_up protected_oe property

protected Vector3 m_up
Résultat Vector3