Version: 2021.3

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.