Enumerazioni
TraceMode
8 valori
| Nome | Valore | Descrizione |
|---|---|---|
TraceMode.DrawDebug |
1 << 0 |
Whether to draw a 3D line representing the ray |
TraceMode.TraceComplex |
1 << 1 |
Whether should trace against complex collision |
TraceMode.ReturnPhysicalMaterial |
1 << 2 |
Whether want to include the physical material in the results (adds <code>SurfaceType</code> to result) |
TraceMode.ReturnEntity |
1 << 3 |
Whether want to return the Entity hit (adds <code>Entity</code> to result) |
TraceMode.ReturnNames |
1 << 4 |
Whether should return names (adds <code>ActorName</code>, <code>ComponentName</code> and <code>BoneName</code> to result) |
TraceMode.ReturnUV |
1 << 5 |
Whether want to trace and return UV information (adds <code>UV</code> to result) |
TraceMode.TraceOnlyVisibility |
1 << 6 |
Whether should only trace for objects that don't ignore visibility collision channel |
TraceMode.ReturnItem |
1 << 7 |
Whether should return extra data about item that was hit (hit primitive specific - usually the instanced index) (adds <code>Item</code> to result) |