Version: 2022.1

MeshTransformConstructor

切换到手册
public MeshTransform (ref XR.MeshId meshId, ulong timestamp, ref Vector3 position, ref Quaternion rotation, ref Vector3 scale);

参数

meshId The identifier of the mesh.
timestamp The timestamp for the mesh's transform. Larger values indicate newer transforms.
position The position of the mesh relative to the session origin.
rotation The rotation of the mesh relative to the session origin.
scale The scale of the mesh relative to the session origin.

描述

Creates a new MeshTransform.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961