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
Index of AnchorPoint
Type: number
position
Position of AnchorPoint
Type: number
panel
A Panel instance AnchorPoint is referencing to
Type: Panel