Config
Public Fields
batchSize
public static int batchSize { get; set; }
density
public static float density { get; set; }
meshingSettings
public static Settings meshingSettings { get; set; }
Public Methods
IntPtr AcquireConfidence
public static IntPtr AcquireConfidence(
MeshId meshId,
out int count
)
Parameters
| Type | Name | Description |
|---|---|---|
| MeshId | meshId | |
| out int | count |
void ReleaseConfidence
public static void ReleaseConfidence(
MeshId meshId
)
Parameters
| Type | Name | Description |
|---|---|---|
| MeshId | meshId |
void SetBounds
public static void SetBounds(
Transform transform,
Vector3 extents
)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | transform | |
| Vector3 | extents |
void SetBounds
public static void SetBounds(
Vector3 position,
Quaternion rotation,
Vector3 extents
)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | position | |
| Quaternion | rotation | |
| Vector3 | extents |
void SetCustomMeshBlockRequests
public static void SetCustomMeshBlockRequests(
OnMeshBlockRequests onBlockRequests
)
Parameters
| Type | Name | Description |
|---|---|---|
| OnMeshBlockRequests | onBlockRequests |
Public Enums
Flags
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| PointCloud | 1 << 0 | |
| ComputeNormals | 1 << 1 | |
| ComputeConfidence | 1 << 2 | |
| Planarize | 1 << 3 | |
| RemoveMeshSkirt | 1 << 4 | |
| IndexOrderCW | 1 << 5 |