Interface: CountdownSceneOptions
Extends
SceneOptions
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
SceneOptions.alpha
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:100
anchorPoint?
optional
anchorPoint:Point
Point within the node that determines its position. Default is { x: 0.5, y: 0.5 }, which centers the node on its position
Inherited from
SceneOptions.anchorPoint
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:43
backgroundColor?
optional
backgroundColor:RgbaColor
Background color of the scene. Default is Constants.DEFAULT_SCENE_BACKGROUND_COLOR (WebColors.White)
Inherited from
SceneOptions.backgroundColor
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:403
draggable?
optional
draggable:boolean
Can the node be dragged?
Inherited from
SceneOptions.draggable
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:106
hidden?
optional
hidden:boolean
Is the node, and its children, hidden? (not displayed). Default is false
Inherited from
SceneOptions.hidden
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:108
isUserInteractionEnabled?
optional
isUserInteractionEnabled:boolean
Does the node respond to user events, such as taps? Default is false
Inherited from
SceneOptions.isUserInteractionEnabled
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:104
layout?
optional
layout:Layout
FOR INTERNAL USE ONLY
Inherited from
SceneOptions.layout
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:110
milliseconds
milliseconds:
number
Duration of the countdown, in milliseconds.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:20
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
SceneOptions.name
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:94
position?
optional
position:Point
Position of the node within its parent coordinate system. Default is (0, 0)
Inherited from
SceneOptions.position
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:96
scale?
optional
scale:number
Scale of the node. Default is 1.0
Inherited from
SceneOptions.scale
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:98
shapeVerticalBias?
optional
shapeVerticalBias:number
Default is to center the timer shape vertically within the scene (verticalBias = .5). Setting verticalBias less than .5 will pull the shape towards the top. Setting verticalBias greater than .5 will pull the shape towards the bottom.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:48
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
SceneOptions.suppressEvents
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:115
text?
optional
text:string
Text shown below the countdown shape. Default is "GET READY".
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:28
textFontColor?
optional
textFontColor:RgbaColor
Font color for text. Default is black.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:34
textFontName?
optional
textFontName:string
Font name for text
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:30
textFontSize?
optional
textFontSize:number
Font size for text. Default is 50.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:32
textMarginTop?
optional
textMarginTop:number
Distance between bottom of countdown shape and text. Default is 32.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:36
timerNumbersFontColor?
optional
timerNumbersFontColor:RgbaColor
Font size for timer numbers. Default is white.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:42
timerNumbersFontName?
optional
timerNumbersFontName:string
Font name for timer numbers.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:38
timerNumbersFontSize?
optional
timerNumbersFontSize:number
Font size for timer numbers. Default is 50.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:40
timerShape?
optional
timerShape:TimerShape
Shape of the timer. Default is a Royal Blue circle with a radius of 100 centered vertically.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:46
transition?
optional
transition:Transition
A custom transition to use to present next scene after the countdown completes.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:24
transitionDurationMilliseconds?
optional
transitionDurationMilliseconds:number
Duration of the slide transition, in milliseconds, to the next scene after the countdown completes. Default is 500.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:22
uuid?
optional
uuid:string
Internal
Unique identifier (UUID). Will be generated automatically. For m2c2kit library use only
Inherited from
SceneOptions.uuid
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:112
zeroDwellMilliseconds?
optional
zeroDwellMilliseconds:number
Duration in milliseconds to stay on zero before transitioning to the next scene. Default is zero. This option should be used if transition
is set to Transition.none()
. Otherwise, the zero will flash for a single frame before presenting the next scene.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:26
zeroString?
optional
zeroString:string
String to show when the timer reaches zero. Default is "0". This could be changed to another value, such as "GO!"
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:44
zPosition?
optional
zPosition:number
Value along the z-axis to determine drawing and tap order. Larger values are on top.
Inherited from
SceneOptions.zPosition
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:45
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
SceneOptions.zRotation
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:102