Skip to content

Get Sansar

Script API

SoundResource

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

public class SoundResource : Sansar.Script.InstanceInterface

Members at a glance

KindMembers
MethodsGetDurationInSeconds · GetName

Methods

GetDurationInSeconds

public float GetDurationInSeconds()

Returns the duration in seconds.

Returns: float

GetName

public string GetName()

Returns the name of the resource.

Returns: string

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.