Version: 2017.2

SurfaceDataConstructor

매뉴얼로 전환
public SurfaceData (XR.WSA.SurfaceId _id, MeshFilter _outputMesh, XR.WSA.WorldAnchor _outputAnchor, MeshCollider _outputCollider, float _trianglesPerCubicMeter, bool _bakeCollider);

파라미터

_id ID for the surface in question.
_outputMesh MeshFilter to write Mesh data to.
_outputAnchor WorldAnchor receiving the anchor point for the surface.
_outputCollider MeshCollider to write baked physics data to (optional).
_trianglesPerCubicMeter Requested resolution for the computed Mesh. Actual resolution may be less than this value.
_bakeCollider Set to true if collider baking is/has been requested.

설명

Constructor for conveniently filling out a SurfaceData struct.

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