Class RecipeAudioClipDto
Recipe description of a single AudioPlayer clip definition. Maps to a
UnityAudioPlayerClipDefinition asset.
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public class RecipeAudioClipDto
Constructors
RecipeAudioClipDto()
Declaration
public RecipeAudioClipDto()
Fields
canBeReplaced
Declaration
public bool canBeReplaced
Field Value
| Type | Description |
|---|---|
| bool | Whether a sound from this clip may be reassigned to free a source. Defaults to true. |
customSpatialSettings
Declaration
public bool customSpatialSettings
Field Value
| Type | Description |
|---|---|
| bool | Whether the four values below apply when the clip is played at a world position. Defaults to false, which keeps the default positioned settings; importing a recipe without this key turns the group off. |
id
Declaration
public string id
Field Value
| Type | Description |
|---|---|
| string | Stable logical identifier (becomes the asset's |
maxDistance
Declaration
public float maxDistance
Field Value
| Type | Description |
|---|---|
| float | Metres beyond which a positioned play no longer attenuates; must be greater than |
minDistance
Declaration
public float minDistance
Field Value
| Type | Description |
|---|---|
| float | Metres within which a positioned play is at full volume. Used only while |
output
Declaration
public string output
Field Value
| Type | Description |
|---|---|
| string | Output path relative to |
priority
Declaration
public int priority
Field Value
| Type | Description |
|---|---|
| int | Serenity priority; higher = more important. Defaults to 50. |
priorityPolicy
Declaration
public string priorityPolicy
Field Value
| Type | Description |
|---|---|
| string | Pool-full policy, as an |
rolloffMode
Declaration
public string rolloffMode
Field Value
| Type | Description |
|---|---|
| string | Rolloff, as an |
source
Declaration
public string source
Field Value
| Type | Description |
|---|---|
| string | Project path to an existing |
spread
Declaration
public float spread
Field Value
| Type | Description |
|---|---|
| float | Speaker spread in degrees, from 0 to 360. |