SurfaceDataConstructor

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

파라미터

_idID for the surface in question.
_outputMeshMeshFilter to write Mesh data to.
_outputAnchorWorldAnchor receiving the anchor point for the surface.
_outputColliderMeshCollider to write baked physics data to (optional).
_trianglesPerCubicMeterRequested resolution for the computed Mesh. Actual resolution may be less than this value.
_bakeColliderSet to true if collider baking is/has been requested.

설명

Constructor for conveniently filling out a SurfaceData struct.