Class
CinemachineConfiner2D
: CinemachineExtension : MonoBehaviour : Behaviour : Component : Object : Object0x00x0150
Members 8
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | BoundingShape2D | Collider2D | Public | — | |
| 0x04 | Damping | float | Public | — | |
| 0x04 | SlowingDistance | float | Public | — | |
| 0x0C | OversizeWindow | OversizeWindowSettings | Public | — | |
| 0x004C | 0x04 | padding / unreflected | |||
| 0x08 | m_ExtraStateCache | List<Unity.Cinemachine.CinemachineConfiner2D.VcamExtraState> | Private | — | |
| 0xF0 | m_ShapeCache | ShapeCache | Private | — | |
| 0x04 | m_LegacyMaxWindowSize | float | Private | — | |
| — | 0x04 | k_CornerAngleThreshold | float | PrivateStatic+1 flags | 1092616192 |
| 0x014C | 0x04 | unreflected bytes to end of CinemachineConfiner2D | |||
Inherited from CinemachineExtension 3
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_VcamOwner | CinemachineVirtualCameraBase | Private | — | |
| 0x08 | m_ExtraState | Dictionary<Unity.Cinemachine.CinemachineVirtualCameraBase | Private | — | |
| — | 0x04 | Epsilon | float | Static+2 flags | 953267991 |
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 14
| Signature | Flags | Native | Params |
|---|---|---|---|
| void OnValidate() | Private | 0x00 | |
| void Reset() | Private | 0x00 | |
| float GetMaxDampTime() | Public+1 flags | 0x04 | |
| void OnTargetObjectWarped(CinemachineVirtualCameraBase vcam, Transform target, const Vector3& positionDelta) | Public+1 flags | 0x0C | |
| void InvalidateLensCache() | Public | 0x00 | |
| void InvalidateBoundingShapeCache() | Public | 0x00 | |
| void InvalidateCache() | Public | 0x00 | |
| bool get_BoundingShapeIsBaked() | Public+1 flags | 0x01 | |
| bool BakeBoundingShape(CinemachineVirtualCameraBase vcam, float maxTimeInSeconds) | Public | 0x08 | |
| void PostPipelineStageCallback(CinemachineVirtualCameraBase vcam, const Stage& stage, ref CameraState& state, float deltaTime) | 2 flags | 0x110 | |
| Vector3 ConfinePoint(const Vector3& pos, VcamExtraState extra, const Vector3& fwd) | Private | 0x0C | |
| float GetDistanceFromEdge(const Vector3& p, const Vector3& dirUnit, float max, VcamExtraState extra, const Vector3& fwd) | Private | 0x0C | |
| float CalculateHalfFrustumHeight(ref LensSettings& lens, ref float& cameraPosLocalZ) | PublicStatic | 0x58 | |
| void .ctor() | Public+1 flags | 0x00 |