Property | Type | Description | |
---|---|---|---|
bakeCollider | bool | ||
id | |||
outputAnchor | |||
outputCollider | |||
outputMesh | |||
trianglesPerCubicMeter | float |
Method | Description | |
---|---|---|
SurfaceData ( |
Constructor for conveniently filling out a SurfaceData struct.
|
public SurfaceData ( |
||
_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 | float | Requested resolution for the computed Mesh. Actual resolution may be less than this value. |
_bakeCollider | bool | Set to true if collider baking is/has been requested. |
return | System |
public WorldAnchor,UnityEngine.VR.WSA outputAnchor | ||
return |
public MeshCollider,UnityEngine outputCollider | ||
return |
public MeshFilter,UnityEngine outputMesh | ||
return |