Class
CinemachineCollisionImpulseSource
: CinemachineImpulseSource : MonoBehaviour : Behaviour : Component : Object : Object0x00x0060
Members 7
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | LayerMask | LayerMask | Public | — | |
| 0x003C | 0x04 | padding / unreflected | |||
| 0x08 | IgnoreTag | string | Public | — | |
| 0x01 | UseImpactDirection | bool | Public | — | |
| 0x01 | ScaleImpactWithMass | bool | Public | — | |
| 0x01 | ScaleImpactWithSpeed | bool | Public | — | |
| 0x004B | 0x05 | padding / unreflected | |||
| 0x08 | m_RigidBody | Rigidbody | Private | — | |
| 0x08 | m_RigidBody2D | Rigidbody2D | Private | — | |
Inherited from CinemachineImpulseSource 2
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | ImpulseDefinition | CinemachineImpulseDefinition | Public | — | |
| 0x0C | DefaultVelocity | Vector3 | Public | — |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 5
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | kInstanceID_None | int | PrivateStatic+1 flags | 8 |
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+2 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 12
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Reset() | Private | 0x00 | |
| void Start() | Private | 0x00 | |
| void OnEnable() | Private | 0x00 | |
| void OnCollisionEnter(Collision c) | Private | 0x08 | |
| void OnTriggerEnter(Collider c) | Private | 0x08 | |
| float GetMassAndVelocity(Collider other, ref Vector3& vel) | Private | 0x0C | |
| void GenerateImpactEvent(Collider other, const Vector3& vel) | Private | 0x0C | |
| void OnCollisionEnter2D(Collision2D c) | Private | 0x08 | |
| void OnTriggerEnter2D(Collider2D c) | Private | 0x08 | |
| float GetMassAndVelocity2D(Collider2D other2d, ref Vector3& vel) | Private | 0x0C | |
| void GenerateImpactEvent2D(Collider2D other2d, const Vector3& vel) | Private | 0x0C | |
| void .ctor() | Public+1 flags | 0x00 |