Interface: CountdownSceneOptions
Extends
SceneOptions
Properties
alpha?
optionalalpha: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:101
anchorPoint?
optionalanchorPoint: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:44
backgroundColor?
optionalbackgroundColor: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:404
draggable?
optionaldraggable:boolean
Can the node be dragged?
Inherited from
SceneOptions.draggable
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:107
hidden?
optionalhidden: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:109
isUserInteractionEnabled?
optionalisUserInteractionEnabled: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:105
layout?
optionallayout:Layout
FOR INTERNAL USE ONLY
Inherited from
SceneOptions.layout
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:111
milliseconds
milliseconds:
number
Duration of the countdown, in milliseconds.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:21
name?
optionalname: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:95
position?
optionalposition: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:97
scale?
optionalscale:number
Scale of the node. Default is 1.0
Inherited from
SceneOptions.scale
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:99
shapeVerticalBias?
optionalshapeVerticalBias: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:49
suppressEvents?
optionalsuppressEvents: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:116
text?
optionaltext:string
Text shown below the countdown shape. Default is "GET READY".
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:29
textFontColor?
optionaltextFontColor:RgbaColor
Font color for text. Default is black.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:35
textFontName?
optionaltextFontName:string
Font name for text
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:31
textFontSize?
optionaltextFontSize:number
Font size for text. Default is 50.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:33
textMarginTop?
optionaltextMarginTop:number
Distance between bottom of countdown shape and text. Default is 32.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:37
timerNumbersFontColor?
optionaltimerNumbersFontColor:RgbaColor
Font size for timer numbers. Default is white.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:43
timerNumbersFontName?
optionaltimerNumbersFontName:string
Font name for timer numbers.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:39
timerNumbersFontSize?
optionaltimerNumbersFontSize:number
Font size for timer numbers. Default is 50.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:41
timerShape?
optionaltimerShape: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:47
transition?
optionaltransition:Transition
A custom transition to use to present next scene after the countdown completes.
Defined in
m2c2kit/packages/addons/src/scenes/countdown-scene.ts:25
transitionDurationMilliseconds?
optionaltransitionDurationMilliseconds: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:23
uuid?
optionaluuid: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:113
zeroDwellMilliseconds?
optionalzeroDwellMilliseconds: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:27
zeroString?
optionalzeroString: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:45
zPosition?
optionalzPosition: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:46
zRotation?
optionalzRotation: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:103