Skip to main content

Function: useLabelPointsOfView()

function useLabelPointsOfView(): {
isPending: boolean;
pointsOfView: LabelPointOfView[];
};

Defined in: livelink.react/sources/hooks/useLabelPointsOfView.ts:42

A hook that finds every entity with a label component in the scene and extracts the point of view stored on each of them.

Returns

{
isPending: boolean;
pointsOfView: LabelPointOfView[];
}

The points of view and a flag indicating if they're still being fetched.

NameType
isPendingboolean
pointsOfViewLabelPointOfView[]