Interface: SoundPlayerOptions
Extends
Properties
alpha?
optional
alpha:number
Opacity of the node. 0 is fully transparent, 1 is fully opaque. Default is 1.0. Alpha has multiplicative inheritance. For example, if the node's parent is alpha .5 and this node's is alpha .4, then the node will appear with alpha .2.
Inherited from
Defined in
M2NodeOptions.ts:12
draggable?
optional
draggable:boolean
Can the node be dragged?
Inherited from
Defined in
M2NodeOptions.ts:18
hidden?
optional
hidden:boolean
Is the node, and its children, hidden? (not displayed). Default is false
Inherited from
Defined in
M2NodeOptions.ts:20
isUserInteractionEnabled?
optional
isUserInteractionEnabled:boolean
Does the node respond to user events, such as taps? Default is false
Inherited from
M2NodeOptions
.isUserInteractionEnabled
Defined in
M2NodeOptions.ts:16
layout?
optional
layout:Layout
FOR INTERNAL USE ONLY
Inherited from
Defined in
M2NodeOptions.ts:22
name?
optional
name:string
Name of the node. Only needed if the node will be referred to by name in a later function
Inherited from
Defined in
M2NodeOptions.ts:6
position?
optional
position:Point
Position of the node within its parent coordinate system. Default is (0, 0)
Inherited from
Defined in
M2NodeOptions.ts:8
scale?
optional
scale:number
Scale of the node. Default is 1.0
Inherited from
Defined in
M2NodeOptions.ts:10
soundName
soundName:
string
Name of sound to play. Must have been previously loaded
Defined in
SoundPlayerOptions.ts:5
suppressEvents?
optional
suppressEvents:boolean
Should the node not emit events to the EventStore? Default is false.
Remarks
This property is for use by authors of Composite
nodes. It is not intended for general use.
Inherited from
Defined in
M2NodeOptions.ts:27
uuid?
optional
uuid:string
Internal
Unique identifier (UUID). Will be generated automatically. For m2c2kit library use only
Inherited from
Defined in
M2NodeOptions.ts:24
zRotation?
optional
zRotation:number
Rotation of the node around the Z axis. Unit is radians. Default is 0 (no rotation). zRotation has inheritance. In addition to this node's zRotation, all ancestors' zRotations will be applied.
Inherited from
Defined in
M2NodeOptions.ts:14