Class
ShadowCaster2D
: ShadowCasterGroup2D : MonoBehaviour : Behaviour : Component : Object : Objectimplements ISerializationCallbackReceiver
0x00x0198
Members 33
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| — | 0x04 | k_CurrentComponentVersion | ComponentVersions | PrivateStatic+1 flags |
| 0x0030 | 0x40 | padding / unreflected | ||
| 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 | |
| 0x04 | m_AlphaCutoff | float | Private | |
| 0x08 | m_ApplyToSortingLayers | int[] | Private | |
| 0x08 | m_ShapePath | Vector3[] | Private | |
| 0x04 | m_ShapePathHash | int | Private | |
| 0x04 | m_InstanceId | int | Private | |
| 0x08 | m_ShadowShape2DComponent | Component | Private | |
| 0x08 | m_ShadowShape2DProvider | ShadowShape2DProvider | Private | |
| 0x04 | m_ShadowCastingSource | ShadowCastingSources | Private | |
| 0x08 | m_ShadowMesh | ShadowMesh2D | 1 flags | |
| 0x04 | m_CastingOption | ShadowCastingOptions | Private | |
| 0x04 | m_PreviousTrimEdge | float | 1 flags | |
| 0x04 | m_PreviousEdgeProcessing | int | 1 flags | |
| 0x04 | m_PreviousShadowCastingSource | int | 1 flags | |
| 0x08 | m_PreviousShadowShape2DSource | Component | 1 flags | |
| 0x08 | m_ShadowCasterGroup | ShadowCasterGroup2D | 1 flags | |
| 0x08 | m_PreviousShadowCasterGroup | ShadowCasterGroup2D | 1 flags | |
| 0x01 | m_ForceShadowMeshRebuild | bool | 1 flags | |
| 0x0099 | 0x03 | padding / unreflected | ||
| 0x04 | m_PreviousShadowGroup | int | Private | |
| 0x01 | m_PreviousCastsShadows | bool | Private | |
| 0x00A1 | 0x03 | padding / unreflected | ||
| 0x04 | m_PreviousPathHash | int | Private | |
| 0x04 | m_SpriteMaterialCount | 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 | |
| 0x0194 | 0x04 | unreflected bytes to end of ShadowCaster2D | ||
Inherited from ShadowCasterGroup2D 3
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| 0x04 | m_ShadowGroup | int | 1 flags | |
| 0x04 | m_Priority | int | 1 flags | |
| 0x08 | m_ShadowCasters | List`1 | Private |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private |
Inherited from Object 4
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+2 flags | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags |
Functions 38
| Signature | Flags | Native | Params |
|---|---|---|---|
| void get_edgeProcessing() | 2 flags | — | 0x00 |
| void set_edgeProcessing() | 2 flags | — | 0x00 |
| void get_mesh() | Public+1 flags | — | 0x00 |
| void get_boundingSphere() | Public+1 flags | — | 0x00 |
| void get_trimEdge() | Public+1 flags | — | 0x00 |
| void set_trimEdge() | Public+1 flags | — | 0x00 |
| void get_alphaCutoff() | Public+1 flags | — | 0x00 |
| void set_alphaCutoff() | Public+1 flags | — | 0x00 |
| void get_shapePath() | Public+1 flags | — | 0x00 |
| void get_shapePathHash() | 2 flags | — | 0x00 |
| void set_shapePathHash() | 2 flags | — | 0x00 |
| void get_shadowCastingSource() | 2 flags | — | 0x00 |
| void set_shadowCastingSource() | 2 flags | — | 0x00 |
| void get_shadowShape2DComponent() | 2 flags | — | 0x00 |
| void set_shadowShape2DComponent() | 2 flags | — | 0x00 |
| void get_shadowShape2DProvider() | 2 flags | — | 0x00 |
| void set_shadowShape2DProvider() | 2 flags | — | 0x00 |
| void get_spriteMaterialCount() | 2 flags | — | 0x00 |
| void CacheValues() | 2 flags | — | 0x00 |
| void set_castingOption() | Public+1 flags | — | 0x00 |
| void get_castingOption() | Public+1 flags | — | 0x00 |
| void set_useRendererSilhouette() | Public+1 flags | — | 0x00 |
| void get_useRendererSilhouette() | Public+1 flags | — | 0x00 |
| void set_selfShadows() | Public+1 flags | — | 0x00 |
| void get_selfShadows() | Public+1 flags | — | 0x00 |
| void set_castsShadows() | Public+1 flags | — | 0x00 |
| void get_castsShadows() | Public+1 flags | — | 0x00 |
| void SetDefaultSortingLayers() | PrivateStatic | — | 0x00 |
| void IsLit() | 1 flags | — | 0x00 |
| void IsShadowedLayer() | 1 flags | — | 0x00 |
| void SetShadowShape() | Private | — | 0x00 |
| 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 .ctor() | Public+1 flags | — | 0x00 |