Struct PointLightStruct
Struct with aligned data for sending a point light to the shader.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct PointLightStruct
Fields
Attenuation
Light Attenuation.
Declaration
public float Attenuation
Field Value
Type | Description |
---|---|
float |
Color
Light diffuse color.
Declaration
public Vector3 Color
Field Value
Type | Description |
---|---|
Vector3 |
Falloff
Light range.
Declaration
public float Falloff
Field Value
Type | Description |
---|---|
float |
Position
Light position.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |