Interface: InstructionScene
Properties
backButtonBackgroundColor?
optionalbackButtonBackgroundColor:RgbaColor
Color of back button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:73
backButtonFontColor?
optionalbackButtonFontColor:RgbaColor
Color of back button text. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:75
backButtonHeight?
optionalbackButtonHeight:number
Height of back button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:69
backButtonText?
optionalbackButtonText:string
Button text for the back button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:57
backButtonTextInterpolation?
optionalbackButtonTextInterpolation:StringInterpolationMap
Interpolation for back button text
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:59
backButtonWidth?
optionalbackButtonWidth:number
Width of back button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:65
backgroundColor?
optionalbackgroundColor:RgbaColor
Background color for instruction scene. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:55
backSceneTransition?
optionalbackSceneTransition:Transition
Scene transition when returning to the previous instruction scene. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:83
imageAboveText?
optionalimageAboveText:boolean
If an image is provided, should it appear above the primary text? Default is true
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:53
imageMarginBottom?
optionalimageMarginBottom:number
If the image appears above the primary instruction text (imageAboveText = true), this is the margin from the bottom of the image to the top of the primary instruction text
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:51
imageMarginTop?
optionalimageMarginTop:number
If the image appears below the primary instruction text (imageAboveText = false), this is the margin from the bottom of the primary instruction text to the top of the image
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:49
imageName?
optionalimageName:string
Name of optional image to show
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:45
imageVerticalBias?
optionalimageVerticalBias:number
Default is to center image vertically within the scene (imageVerticalBias = .5). Setting imageVerticalBias less than .5 will pull the image towards the top. Setting imageVerticalBias greater than .5 will pull the image towards the bottom
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:47
nextButtonBackgroundColor?
optionalnextButtonBackgroundColor:RgbaColor
Color of next button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:77
nextButtonFontColor?
optionalnextButtonFontColor:RgbaColor
Color of next button text. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:79
nextButtonHeight?
optionalnextButtonHeight:number
Height of next button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:71
nextButtonText?
optionalnextButtonText:string
Button text for the next button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:61
nextButtonTextInterpolation?
optionalnextButtonTextInterpolation:StringInterpolationMap
Interpolation map for next button text
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:63
nextButtonWidth?
optionalnextButtonWidth:number
Width of next button. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:67
nextSceneTransition?
optionalnextSceneTransition:Transition
Scene transition when advancing to the next instruction scene. Will override what is set in InstructionsOptions
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:81
text?
optionaltext:string
Primary instruction text
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:23
textAlignmentMode?
optionaltextAlignmentMode:LabelHorizontalAlignmentMode
Horizontal alignment of primary instruction text. see LabelHorizontalAlignmentMode. Default is LabelHorizontalAlignmentMode.left.
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:31
textFontSize?
optionaltextFontSize:number
Font size of primary instruction text. Default is 16
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:35
textInterpolation?
optionaltextInterpolation:StringInterpolationMap
Interpolation for text
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:25
textMarginEnd?
optionaltextMarginEnd:number
Margin from right to primary instruction text. Default is 48
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:29
textMarginStart?
optionaltextMarginStart:number
Margin from left screen edge to primary instruction text. Default is 48
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:27
textVerticalBias?
optionaltextVerticalBias:number
Default is to center primary instructions vertically within the scene (textVerticalBias = .5). Setting textVerticalBias less than .5 will pull the text towards the top. Setting textVerticalBias greater than .5 will pull the text towards the bottom
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:33
title?
optionaltitle:string
A text heading to appear at the top of the scene
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:37
titleFontSize?
optionaltitleFontSize:number
Font size of title text. Default is 16
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:43
titleInterpolation?
optionaltitleInterpolation:StringInterpolationMap
Interpolation for title
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:39
titleMarginTop?
optionaltitleMarginTop:number
Margin from top of screen edge to title text. Default is 48
Defined in
m2c2kit/packages/addons/src/stories/instructions.ts:41