HoverChain.fetch

Fetch a pointer by the number assigned to it when loading.

Under the hood, HoverChain creates two pointers for each load. One has a number of zero or more (the original pointer), and one has a negative number (armed pointer). The original pointer reflects the changes made when loading and updating exactly, while the armed pointer is updated only when a new frame starts. This makes it possible to update the pointer, while it is in use by FindHoveredNodeAction. Otherwise, the values given to the could be out of date by the time the relevant node is found.

class HoverChain
override inout
fetch
(
int number
)

Return Value

Type: inout(HoverPointer)

Pointer associated with the node.

See Also

normalizedPointerID and armedPointerID for converting between pointer IDs.

Meta