PlacementHandler\<TPose\>
PlacementHandler<
TPose> = (pose,valid) =>void
Defined in: shared.d.ts:44
Handler for a placement-mode event, given where the placement is aimed and whether that spot is accepted. The pose is null for cancel and end. Generic because shared.d.ts cannot reach the generated PlacementPose.
Type Parameters
Section titled “Type Parameters”TPose = unknown
Parameters
Section titled “Parameters”TPose | null
boolean
Returns
Section titled “Returns”void