Search Results for

    Show / Hide Table of Contents

    Class ObjectHelper

    The Object helper provides utility methods to toggle visibility, grabbability, interactability, and combinability of TrainAR objects, to destroy them, to get GameObject references to TrainAR object in the stateflow and many other utility functions.

    Inheritance
    System.Object
    ObjectHelper
    Namespace: Visual_Scripting
    Assembly: Assembly-CSharp.dll
    Syntax
    public class ObjectHelper : Unit

    Fields

    | Improve this Doc View Source

    helperChoice

    Declaration
    public ObjectHelper.TrainARHelperChoices helperChoice
    Field Value
    Type Description
    ObjectHelper.TrainARHelperChoices

    Properties

    | Improve this Doc View Source

    CombinabilityToggle

    Toggle for the combinability that is displayed when this helper is selected.

    Declaration
    public ValueInput CombinabilityToggle { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    FusionOffsetPosition

    The positional offset of the fusion of the objects.

    Declaration
    public ValueInput FusionOffsetPosition { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    FusionOffsetRotation

    The rotational offset of the fusion of the objects.

    Declaration
    public ValueInput FusionOffsetRotation { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    GrabbabilityToggle

    Toggle for the grabbability that is displayed when this helper is selected.

    Declaration
    public ValueInput GrabbabilityToggle { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    InputFlow

    The Input port of the Unit that triggers the internal logic.

    Declaration
    public ControlInput InputFlow { get; }
    Property Value
    Type Description
    ControlInput

    Set in node in the editor.

    | Improve this Doc View Source

    InteractabilityToggle

    Toggle for the interactability that is displayed when this helper is selected.

    Declaration
    public ValueInput InteractabilityToggle { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    InteractableText

    The interactable text that is displayed on the interaction button.

    Declaration
    public ValueInput InteractableText { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    Lerpingdistance

    The lerping distance of the object to the smartphone.

    Declaration
    public ValueInput Lerpingdistance { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    ObjectMaterial

    Texture to replace.

    Declaration
    public ValueInput ObjectMaterial { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    ObjectMesh

    Mesh to replace.

    Declaration
    public ValueInput ObjectMesh { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    objectReference

    The reference to the GameObject in the scene.

    Declaration
    public ValueOutput objectReference { get; }
    Property Value
    Type Description
    ValueOutput

    Set in node in the editor.

    | Improve this Doc View Source

    ObjectTwo

    The second object to fuse together (with the original one).

    Declaration
    public ValueInput ObjectTwo { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    OutputFlow

    The Output port of the Unit that is tirggered after executing the units logic.

    Declaration
    public ControlOutput OutputFlow { get; }
    Property Value
    Type Description
    ControlOutput

    Set in node in the editor.

    | Improve this Doc View Source

    TrainARObjectName

    Name of the Object we want to get the reference for.

    Declaration
    public ValueInput TrainARObjectName { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    | Improve this Doc View Source

    VisibilityToggle

    Toggle for the visibility that is displayed when this helper is selected.

    Declaration
    public ValueInput VisibilityToggle { get; }
    Property Value
    Type Description
    ValueInput

    Set in node in the editor.

    Methods

    | Improve this Doc View Source

    Definition()

    Defines the Nodes input, output and value ports

    Declaration
    protected override void Definition()
    • Improve this Doc
    • View Source
    In This Article
    Back to top TrainAR Documentation