Class
ShadowCaster2D
: ShadowCasterGroup2D : MonoBehaviour : Behaviour : Component : Object : Objectimplements ISerializationCallbackReceiver
0x00x0190
Members 24
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | k_CurrentComponentVersion | ComponentVersions | PrivateStatic+1 flags | 1 |
| 0x04 | m_ComponentVersion | ComponentVersions | Private | — | |
| 0x01 | m_HasRenderer | bool | Private | — | |
| 0x01 | m_UseRendererSilhouette | bool | Private | — | |
| 0x01 | m_CastsShadows | bool | Private | — | |
| 0x01 | m_SelfShadows | bool | Private | — | |
| 0x08 | m_ApplyToSortingLayers | int[] | Private | — | |
| 0x08 | m_ShapePath | Vector3[] | Private | — | |
| 0x04 | m_ShapePathHash | int | Private | — | |
| 0x004C | 0x04 | padding / unreflected | |||
| 0x08 | m_Mesh | Mesh | Private | — | |
| 0x04 | m_InstanceId | int | Private | — | |
| 0x005C | 0x04 | padding / unreflected | |||
| 0x08 | m_ShadowCasterGroup | ShadowCasterGroup2D | 1 flags | — | |
| 0x08 | m_PreviousShadowCasterGroup | ShadowCasterGroup2D | 1 flags | — | |
| 0x18 | m_LocalBounds | Bounds | 1 flags | — | |
| 0x10 | m_BoundingSphere | BoundingSphere | 1 flags | — | |
| 0x04 | m_PreviousShadowGroup | int | Private | — | |
| 0x01 | m_PreviousCastsShadows | bool | Private | — | |
| 0x009D | 0x03 | padding / unreflected | |||
| 0x04 | m_PreviousPathHash | int | Private | — | |
| 0x0C | m_CachedPosition | Vector3 | 1 flags | — | |
| 0x0C | m_CachedLossyScale | Vector3 | 1 flags | — | |
| 0x10 | m_CachedRotation | Quaternion | 1 flags | — | |
| 0x40 | m_CachedShadowMatrix | Matrix4x4 | 1 flags | — | |
| 0x40 | m_CachedInverseShadowMatrix | Matrix4x4 | 1 flags | — | |
| 0x40 | m_CachedLocalToWorldMatrix | Matrix4x4 | 1 flags | — | |
| 0x018C | 0x04 | unreflected bytes to end of ShadowCaster2D | |||
Inherited from ShadowCasterGroup2D 2
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | m_ShadowGroup | int | 1 flags | — | |
| 0x0024 | 0x04 | padding / unreflected | |||
| 0x08 | m_ShadowCasters | List<UnityEngine.Rendering.Universal.ShadowCaster2D> | Private | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 22
| Signature | Flags | Native | Params |
|---|---|---|---|
| Mesh get_mesh() | Public+1 flags | 0x08 | |
| Vector3[] get_shapePath() | Public+1 flags | 0x08 | |
| int get_shapePathHash() | 2 flags | 0x04 | |
| void set_shapePathHash(int value) | 2 flags | 0x04 | |
| void CacheValues() | 2 flags | 0x00 | |
| void set_useRendererSilhouette(bool value) | Public+1 flags | 0x01 | |
| bool get_useRendererSilhouette() | Public+1 flags | 0x01 | |
| void set_selfShadows(bool value) | Public+1 flags | 0x01 | |
| bool get_selfShadows() | Public+1 flags | 0x01 | |
| void set_castsShadows(bool value) | Public+1 flags | 0x01 | |
| bool get_castsShadows() | Public+1 flags | 0x01 | |
| int[] SetDefaultSortingLayers() | PrivateStatic | 0x08 | |
| bool IsLit(Light2D light) | 1 flags | 0x08 | |
| bool IsShadowedLayer(int layer) | 1 flags | 0x04 | |
| void Awake() | Private | 0x00 | |
| void OnEnable() | 1 flags | 0x00 | |
| void OnDisable() | 1 flags | 0x00 | |
| void Update() | Public | 0x00 | |
| void OnBeforeSerialize() | PublicFinal+2 flags | 0x00 | |
| void OnAfterDeserialize() | PublicFinal+2 flags | 0x00 | |
| void UpdateBoundingSphere() | Private | 0x00 | |
| void .ctor() | Public+1 flags | 0x00 |