Properties
addTicker
addTicker: ((ticker) => void)
Type declaration
- (ticker): void
Returns void
coordinateTransform
coordinateTransform: ((point, type, z?) => Vec2 | Vec3)
Type declaration
- (point, type, z?): Vec2 | Vec3
Parameters
point: Vec2 | Vec3
Optional
z: number
Returns Vec2 | Vec3
getApp
getApp: (() => any)
getCamera
getCamera: (() => any)
getRaycaster
getRaycaster: (() => any)
getRootView
getRootView: (() => any)
getScene
getScene: (() => any)
getScreenShot
getScreenShot: ((sx?, sy?, w?, h?, fileType?, quality?, isBase64?) => Promise<string | Blob>)
Type declaration
- (sx?, sy?, w?, h?, fileType?, quality?, isBase64?): Promise<string | Blob>
Parameters
Optional
sx: number
Optional
sy: number
Optional
w: number
Optional
h: number
Optional
fileType: string
Optional
quality: number
Optional
isBase64: boolean
Returns Promise<string | Blob>
hitTarget
hitTarget: ((point) => undefined | Partial<ViewEntity>) Type declaration
- (point): undefined | Partial<ViewEntity>
Parameters
point: {
x: number;
y: number;
}
Returns undefined | Partial<ViewEntity>
removeTicker
removeTicker: ((ticker) => void)
Type declaration
- (ticker): void
Returns void
updateCursor
updateCursor: ((cursor?) => void)
Type declaration
- (cursor?): void
Returns void
updateInteractiveObject
updateInteractiveObject: ((view, config?) => void)
Type declaration
- (view, config?): void
Returns void