Appearance
anim-format (runtime format) / unprojectPoint
Function: unprojectPoint()
ts
function unprojectPoint(
pose,
proj,
x,
y,
space?
):
| {
x: number;
y: number;
}
| null;A projected parent-space point back onto the card: its LOCAL position (hit tests), or null when the card is edge-on / behind.
Parameters
| Parameter | Type | Default value |
|---|---|---|
pose | CardPose | undefined |
proj | Projection | undefined |
x | number | undefined |
y | number | undefined |
space? | Matrix2D | FLAT |
Returns
| { x: number; y: number; } | null