docs.unity3d.com
    Show / Hide Table of Contents

    Class HotspotFactory

    Hotspot Factory Service (Create a hotspot and a hotspot group)

    Inheritance
    Object
    HotspotFactory
    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

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023