SoundSyncBeat
ClassRepresents a single musical beat used to synchronize effects with music.
- Available on all platforms
Since Lens Scripting v321
Index
Properties
Methods
Extends
Properties
beatIndex
readonlybeatIndex:number
The position of this beat within its measure, starting with 1.
Since
Lens Scripting Version 321
timestamp
readonlytimestamp:number
The time in seconds when this beat occurs in the music track.
Since
Lens Scripting Version 321
Methods
getTypeName()
staticgetTypeName():TypeName<SoundSyncBeat>
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns
TypeName<SoundSyncBeat>
Since
Lens Scripting Version 321
Overrides
getTypeName()
getTypeName():
string
Returns the name of this object's type.
Returns
string
Inherited from
isOfType()
isOfType(
type):boolean
Returns true if the object matches or derives from the passed in type.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean
Inherited from
isSame()
isSame(
other):boolean
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Parameters
| Parameter | Type |
|---|---|
other | ScriptObject |
Returns
boolean