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)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
options | object | An options object | ||
options.index | number | ✔️ | Index of AnchorPoint | |
options.position | number | ✔️ | Position of AnchorPoint | |
options.panel | Panel | ✔️ | 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