POISetProperties¶
Interface POISetProperties
interface POISetProperties {
enabled?: boolean;
labelColor?: [number, number, number];
labelOutlineColor?: [number, number, number];
name?: string;
points?: PointOfInterest[];
styleHovered?: number;
styleOccluded?: number;
styleVisible?: number;
useWorldUnits?: boolean;
}
enabled?: boolean;
labelColor?: [number, number, number];
labelOutlineColor?: [number, number, number];
name?: string;
points?: PointOfInterest[];
styleHovered?: number;
styleOccluded?: number;
styleVisible?: number;
useWorldUnits?: boolean;
}
Properties
Optionalenabled
enabled?: boolean
Optionallabel Color
labelColor?: [number, number, number]
The color of the POI labels in the set as [R, G, B], each value in the range 0-1.
Optionallabel Outline Color
labelOutlineColor?: [number, number, number]
The outline color of the labels in the set as [R, G, B], each value in the range 0-1.
Optionalname
name?: string
Optional. Name of the POS set.
Optionalpoints
The list of PointOfInterests to visualize.
Optionalstyle Hovered
styleHovered?: number
The style of the POIs in the set that are hovered.
Optionalstyle Occluded
styleOccluded?: number
The style of the POIs in the set that are occluded.
Optionalstyle Visible
styleVisible?: number
The style of the POIs in the set that are visible.
Optionaluse World Units
useWorldUnits?: boolean
Specifies how the size specified in the POI set's style is interpreted (see POIStyleProperties). If set to true, the values are interpreted in world space (meters), otherwise in screen space (pixels).
For pixel size on screen typical size values are in the range 15-30. For world unit size typical size values depend on the model.
Whether the POI set is enabled or not.