Height of the Pixi container
Maps DOM client coordinates to local Pixi coordinates.
DOM client coordinates
Optionalout: PointOptional Point to store the result
The point if hit, null otherwise
Maps local Pixi coordinates to DOM client coordinates. When inside PixiTexture, returns array of Points (UV can map to multiple positions). When inside CanvasView directly, returns single-element array (direct mapping).
Pixi Point in local coordinates
Optionalout: PointOptional Point to store the first result
Array of Points in client coords
Maps Pixi coordinates to Three.js UV coordinates (0-1).
Pixi Point in local coordinates
Optionalout: Vector2Optional Three.js UV Vector2 to store the result
The UV Vector2
Maps local Pixi coordinates to CanvasView viewport coordinates. When inside PixiTexture, returns array of Points (UV can map to multiple positions). When inside CanvasView directly, returns single-element array (direct mapping).
Pixi Point in local coordinates
Optionalout: PointOptional Point to store the first result
Array of Points in viewport coords
Maps Three.js UV coordinates (0-1) to Pixi coordinates.
Three.js UV Vector2 (0-1 range)
Optionalout: PointOptional Pixi Point to store the result
The Pixi Point
Maps viewport coordinates to local Pixi coordinates.
Viewport Point coordinates
Optionalout: PointOptional Point to store the result
The point if hit, null otherwise
OptionalparentParent Three coordinate mapping functions. Only available inside a PixiTexture context.
Parent Three context for coordinate mapping from PixiTexture to parent Three scene. Only available inside a PixiTexture context.
Maps Pixi texture coordinates to global Pixi parent coordinates. Returns array of Points since UV can map to multiple mesh positions.
Maps Pixi texture coordinates to world coordinates in the parent Three scene.
Maps Pixi texture coordinates to local coordinates on the parent Three mesh surface.
Width of the Pixi container
Context value for Pixi view coordinate mapping. Works in PixiTexture (inside ThreeScene) and CanvasView.