Skip to main content

Function: DOM3DEntityAnchor()

function DOM3DEntityAnchor(
__namedParameters: PropsWithChildren<{
entity: Entity | null;
offset?: AnchorOffset;
scaleFactor?: number;
onProjectionChange?: (projection: Readonly<PointProjection>) => void;
}>,
): Element | null;

Defined in: livelink.react/sources/components/overlays/DOM3DEntityAnchor.tsx:34

A component that renders a div anchored to the position of an entity in world space.

Parameters

ParameterType
__namedParametersPropsWithChildren<{ entity: Entity | null; offset?: AnchorOffset; scaleFactor?: number; onProjectionChange?: (projection: Readonly<PointProjection>) => void; }>

Returns

Element | null