AudioTrackAsset
Lens Studio v1.0.0+
Scripting Name: Asset.AudioTrackAsset
Inherits from Asset
Description
Represents an audio file asset. See also: AudioComponent.
Inherited Methods
isSame(SerializableWithUID other)
: Boolean
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
getTypeName()
: String
Returns the name of this object’s type.
isOfType(String type)
: Boolean
Returns true if the object matches or derives from the passed in type.
Inherited Properties
name
: String
The name of the Asset in Lens Studio.
Examples
//@input Component.AudioComponent audio
//@input Asset.AudioTrackAsset track
script.audio.audioTrack = script.track;
Still Looking for help?
Visit Support