Struct LightShapeDescription
Describes a Spot light cone.
Inherited Members
Namespace: Unity.Importer.USD
Assembly: Unity.Importer.USD.dll
Syntax
public struct LightShapeDescription
Fields
coneAngle
The cone angle
Declaration
public float coneAngle
Field Value
| Type | Description |
|---|---|
| float |
coneSoftness
The cone softness
Declaration
public float coneSoftness
Field Value
| Type | Description |
|---|---|
| float |
focus
The focus distance
Declaration
public float focus
Field Value
| Type | Description |
|---|---|
| float |
isEnabled
Whether the cone light is enabled
Declaration
public bool isEnabled
Field Value
| Type | Description |
|---|---|
| bool |
Methods
ApplyTolight(Light)
Applies the described properties the given light
Declaration
public void ApplyTolight(Light light)
Parameters
| Type | Name | Description |
|---|---|---|
| Light | light |