mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class ReturnToBounds

    Resets the gameobject's position to its starting position as soon as it's moving outside the provided bounds

    Inheritance
    Object
    ReturnToBounds
    Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos
    Assembly: cs.temp.dll.dll
    Syntax
    public class ReturnToBounds : MonoBehaviour

    Properties

    BackBounds

    Declaration
    public Transform BackBounds { get; set; }
    Property Value
    Type Description
    Transform

    BottomBounds

    Declaration
    public Transform BottomBounds { get; set; }
    Property Value
    Type Description
    Transform

    FrontBounds

    Declaration
    public Transform FrontBounds { get; set; }
    Property Value
    Type Description
    Transform

    LeftBounds

    Declaration
    public Transform LeftBounds { get; set; }
    Property Value
    Type Description
    Transform

    RightBounds

    Declaration
    public Transform RightBounds { get; set; }
    Property Value
    Type Description
    Transform

    TopBounds

    Declaration
    public Transform TopBounds { get; set; }
    Property Value
    Type Description
    Transform
    In This Article
    • Properties
      • BackBounds
      • BottomBounds
      • FrontBounds
      • LeftBounds
      • RightBounds
      • TopBounds
    Back to top Generated by DocFX