Interface IProvidesPlaceSceneObjects | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProvidesPlaceSceneObjects

    Provide access to scene placement functionality

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IProvidesPlaceSceneObjects : IFunctionalityProvider

    Methods

    PlaceSceneObjects(Transform[], Vector3[], Quaternion[], Vector3[])

    Place a group of objects in the scene/MiniWorld

    Declaration
    void PlaceSceneObjects(Transform[] transforms, Vector3[] targetPositionOffsets, Quaternion[] targetRotations, Vector3[] targetScales)
    Parameters
    Type Name Description
    Transform[] transforms

    Array of Transforms to place

    Vector3[] targetPositionOffsets

    Array of per-object target positions

    Quaternion[] targetRotations

    Array of per-object target rotations

    Vector3[] targetScales

    Array of per-object target scales

    Back to top
    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