Class PhysicsShapeExtensions
Inheritance
System.Object
PhysicsShapeExtensions
Assembly: cs.temp.dll.dll
Syntax
public static class PhysicsShapeExtensions
Methods
Declaration
public static void ResetCategoriesBit(this ref PhysicsShape.ContactFilter filter, int bitIndex)
Parameters
| Type |
Name |
Description |
| PhysicsShape.ContactFilter |
filter |
|
| System.Int32 |
bitIndex |
|
Declaration
public static void ResetContactsBit(this ref PhysicsShape.ContactFilter filter, int bitIndex)
Parameters
| Type |
Name |
Description |
| PhysicsShape.ContactFilter |
filter |
|
| System.Int32 |
bitIndex |
|
Declaration
public static void SetCategoriesBit(this ref PhysicsShape.ContactFilter filter, int bitIndex)
Parameters
| Type |
Name |
Description |
| PhysicsShape.ContactFilter |
filter |
|
| System.Int32 |
bitIndex |
|
Declaration
public static void SetContactsBit(this ref PhysicsShape.ContactFilter filter, int bitIndex)
Parameters
| Type |
Name |
Description |
| PhysicsShape.ContactFilter |
filter |
|
| System.Int32 |
bitIndex |
|
TryGetCallbackComponent<T>(PhysicsShape, out T, Boolean)
Declaration
public static bool TryGetCallbackComponent<T>(this PhysicsShape shape, out T component, bool checkShapeValidation = false)
where T : Component
Parameters
| Type |
Name |
Description |
| PhysicsShape |
shape |
|
| T |
component |
|
| System.Boolean |
checkShapeValidation |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters