Struct Fog
Namespace: Unity.Tiny.Rendering
Syntax
public struct Fog : IComponentData
Fields
color
Declaration
public float4 color
Field Value
| Type | Description |
|---|---|
| float4 |
density
Declaration
public float density
Field Value
| Type | Description |
|---|---|
| Single |
endDistance
Declaration
public float endDistance
Field Value
| Type | Description |
|---|---|
| Single |
mode
Declaration
public Fog.Mode mode
Field Value
| Type | Description |
|---|---|
| Fog.Mode |
startDistance
Declaration
public float startDistance
Field Value
| Type | Description |
|---|---|
| Single |
Methods
Equals(Fog)
Declaration
public bool Equals(Fog other)
Parameters
| Type | Name | Description |
|---|---|---|
| Fog | other |
Returns
| Type | Description |
|---|---|
| Boolean |