SoundResource Class
The SoundResource class represents a sound that could be added to the scene.
Syntax
[Sansar.Script.Interface]
public class SoundResource : Sansar.Script.InstanceInterface
public class SoundResource : Sansar.Script.InstanceInterface
Remarks
Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
Members
See Also: Inherited members from Sansar.Script.InstanceInterface.
Public Properties
[read-only]
|
IsValid | bool . Whether or not this interface is valid. (Inherited from Sansar.Script.InstanceInterface.) |
Public Methods
|
GetDurationInSeconds () : float
Returns the duration in seconds. |
|
|
GetName () : string
Returns the name of the resource. |
Member Details
GetDurationInSeconds Method
Returns the duration in seconds.Syntax
[Sansar.Script.Interface]
public float 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 string GetName ()Returns
Remarks
Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
0 Comments