Skip to main content
Version: 4.2.5

AnchorPoint

class AnchorPoint

A data component that has actual position where the camera should be stopped at

Constructor

new AnchorPoint(options, options.index, options.position, options.panel)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
optionsobjectAn options object
options.indexnumber✔️Index of AnchorPoint
options.positionnumber✔️Position of AnchorPoint
options.panelPanel✔️A Panel instance AnchorPoint is referencing to

Properties

index

readonly

Index of AnchorPoint

Type: number

position

readonly

Position of AnchorPoint

Type: number

panel

readonly

A Panel instance AnchorPoint is referencing to

Type: Panel