Class HotspotFactory
Hotspot Factory Service (Create a hotspot and a hotspot group)
Namespace: Unity.Industrial.Forma.Editor.UI.Components
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.UI", "Unity.Industrial.Configurator.Editor", null)]
public static class HotspotFactory
Methods
CreateHotspot(Vector3, Vector3)
Create a hotspot
Declaration
public static Hotspot CreateHotspot(Vector3 pos, Vector3 normal)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | pos | hotspot position |
Vector3 | normal | hotspot normal |
Returns
Type | Description |
---|---|
Hotspot | Hotspot |
CreateHotspotGroup()
Create a hotspot group
Declaration
public static HotspotGroup CreateHotspotGroup()
Returns
Type | Description |
---|---|
HotspotGroup | HotspotGroup |