SurfaceData Constructor
public SurfaceData(XR.WSA.SurfaceId _id,
MeshFilter _outputMesh,
XR.WSA.WorldAnchor _outputAnchor,
MeshCollider _outputCollider,
float _trianglesPerCubicMeter,
bool _bakeCollider);
Parameters
| _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. |
Description 描述
Constructor for conveniently filling out a SurfaceData struct.