Show / Hide Table of Contents

Struct LightDataGI

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine.Experimental.GlobalIllumination
Assembly: UnityEngine.dll
Syntax
public struct LightDataGI

Fields

| Improve this Doc View Source

color

Declaration
public LinearColor color
Field Value
Type Description
LinearColor
| Improve this Doc View Source

coneAngle

Declaration
public float coneAngle
Field Value
Type Description
Single
| Improve this Doc View Source

falloff

Declaration
public FalloffType falloff
Field Value
Type Description
FalloffType
| Improve this Doc View Source

indirectColor

Declaration
public LinearColor indirectColor
Field Value
Type Description
LinearColor
| Improve this Doc View Source

innerConeAngle

Declaration
public float innerConeAngle
Field Value
Type Description
Single
| Improve this Doc View Source

instanceID

Declaration
public int instanceID
Field Value
Type Description
Int32
| Improve this Doc View Source

mode

Declaration
public LightMode mode
Field Value
Type Description
LightMode
| Improve this Doc View Source

orientation

Declaration
public Quaternion orientation
Field Value
Type Description
Quaternion
| Improve this Doc View Source

position

Declaration
public Vector3 position
Field Value
Type Description
Vector3
| Improve this Doc View Source

range

Declaration
public float range
Field Value
Type Description
Single
| Improve this Doc View Source

shadow

Declaration
public byte shadow
Field Value
Type Description
Byte
| Improve this Doc View Source

shape0

Declaration
public float shape0
Field Value
Type Description
Single
| Improve this Doc View Source

shape1

Declaration
public float shape1
Field Value
Type Description
Single
| Improve this Doc View Source

type

Declaration
public LightType type
Field Value
Type Description
LightType

Methods

| Improve this Doc View Source

Init(ref DirectionalLight)

Declaration
public void Init(ref DirectionalLight light)
Parameters
Type Name Description
DirectionalLight light
| Improve this Doc View Source

Init(ref DiscLight)

Declaration
public void Init(ref DiscLight light)
Parameters
Type Name Description
DiscLight light
| Improve this Doc View Source

Init(ref PointLight)

Declaration
public void Init(ref PointLight light)
Parameters
Type Name Description
PointLight light
| Improve this Doc View Source

Init(ref RectangleLight)

Declaration
public void Init(ref RectangleLight light)
Parameters
Type Name Description
RectangleLight light
| Improve this Doc View Source

Init(ref SpotLight)

Declaration
public void Init(ref SpotLight light)
Parameters
Type Name Description
SpotLight light
| Improve this Doc View Source

InitNoBake(Int32)

Declaration
public void InitNoBake(int lightInstanceID)
Parameters
Type Name Description
Int32 lightInstanceID

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX