Function: matrixFromCamera()
matrixFromCamera(
state
,viewportDimensions
,graphDimensions
,padding
,inverse
?):Float32Array
Function returning a matrix from the current state of the camera.
Parameters
• state: CameraState
• viewportDimensions
• viewportDimensions.height: number
• viewportDimensions.width: number
• graphDimensions
• graphDimensions.height?: number
• graphDimensions.width?: number
• padding?: number
• inverse?: boolean
Returns
Float32Array