Skip to main content
Version: 4.1.1

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
optionsobjectnoAn options object
options.indexnumberyesIndex of AnchorPoint
options.positionnumberyesPosition of AnchorPoint
options.panelPanelyesA 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