Sound Resource

SoundResource Class

The SoundResource class represents a sound that could be added to the scene.

Syntax

Member Details

GetDurationInSeconds Method

Returns the duration in seconds.

Syntax

[Sansar.Script.Interface] public floatarrow-up-right GetDurationInSeconds ()

Returns

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0


GetName Method

Returns the name of the resource.

Syntax

[Sansar.Script.Interface] public stringarrow-up-right GetName ()

Returns

Remarks

Requirements

Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0


Last updated