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 | no | An options object | |
| options.index | number | yes | Index of AnchorPoint | |
| options.position | number | yes | Position of AnchorPoint | |
| options.panel | Panel | yes | 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