implements ICanvasElement
0x00x00A0
Members 23
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | s_DefaultUI | Material | Static+1 flags | — | |
| 0x08 | s_WhiteTexture | Texture2D | Static+1 flags | — | |
| 0x08 | m_Material | Material | 1 flags | — | |
| 0x10 | m_Color | Color | Private | — | |
| 0x01 | m_SkipLayoutUpdate | bool | 2 flags | — | |
| 0x01 | m_SkipMaterialUpdate | bool | 2 flags | — | |
| 0x01 | m_RaycastTarget | bool | Private | — | |
| 0x01 | m_RaycastTargetCache | bool | Private | — | |
| 0x10 | m_RaycastPadding | Vector4 | Private | — | |
| 0x0044 | 0x04 | padding / unreflected | |||
| 0x08 | m_RectTransform | RectTransform | Private+1 flags | — | |
| 0x08 | m_CanvasRenderer | CanvasRenderer | Private+1 flags | — | |
| 0x08 | m_Canvas | Canvas | Private+1 flags | — | |
| 0x01 | m_VertsDirty | bool | Private+1 flags | — | |
| 0x01 | m_MaterialDirty | bool | Private+1 flags | — | |
| 0x0062 | 0x06 | padding / unreflected | |||
| 0x08 | m_OnDirtyLayoutCallback | UnityAction | 2 flags | — | |
| 0x08 | m_OnDirtyVertsCallback | UnityAction | 2 flags | — | |
| 0x08 | m_OnDirtyMaterialCallback | UnityAction | 2 flags | — | |
| 0x08 | s_Mesh | Mesh | Static+2 flags | — | |
| 0x08 | s_VertexHelper | VertexHelper | PrivateStatic+2 flags | — | |
| 0x08 | m_CachedMesh | Mesh | 2 flags | — | |
| 0x08 | m_CachedUvs | Vector2[] | 2 flags | — | |
| 0x08 | m_ColorTweenRunner | TweenRunner<UnityEngine.UI.CoroutineTween.ColorTween> | Private+2 flags | — | |
| 0x01 | <useLegacyMeshGeneration>k__BackingField | bool | Private | — | |
| 0x0099 | 0x07 | unreflected bytes to end of Graphic | |||
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 61
| Signature | Flags | Native | Params |
|---|---|---|---|
| Material get_defaultGraphicMaterial() | PublicStatic+1 flags | 0x08 | |
| Color get_color() | Public+3 flags | 0x10 | |
| void set_color(const Color& value) | Public+3 flags | 0x10 | |
| bool get_raycastTarget() | Public+3 flags | 0x01 | |
| void set_raycastTarget(bool value) | Public+3 flags | 0x01 | |
| Vector4 get_raycastPadding() | Public+1 flags | 0x10 | |
| void set_raycastPadding(const Vector4& value) | Public+1 flags | 0x10 | |
| bool get_useLegacyMeshGeneration() | 2 flags | 0x01 | |
| void set_useLegacyMeshGeneration(bool value) | 2 flags | 0x01 | |
| void .ctor() | 2 flags | 0x00 | |
| void SetAllDirty() | Public+2 flags | 0x00 | |
| void SetLayoutDirty() | Public+2 flags | 0x00 | |
| void SetVerticesDirty() | Public+2 flags | 0x00 | |
| void SetMaterialDirty() | Public+2 flags | 0x00 | |
| void SetRaycastDirty() | Public | 0x00 | |
| void OnRectTransformDimensionsChange() | 2 flags | 0x00 | |
| void OnBeforeTransformParentChanged() | 2 flags | 0x00 | |
| void OnTransformParentChanged() | 2 flags | 0x00 | |
| int get_depth() | Public+1 flags | 0x04 | |
| RectTransform get_rectTransform() | PublicFinal+3 flags | 0x08 | |
| Canvas get_canvas() | Public+1 flags | 0x08 | |
| void CacheCanvas() | Private | 0x00 | |
| CanvasRenderer get_canvasRenderer() | Public+1 flags | 0x08 | |
| Material get_defaultMaterial() | Public+3 flags | 0x08 | |
| Material get_material() | Public+3 flags | 0x08 | |
| void set_material(Material value) | Public+3 flags | 0x08 | |
| Material get_materialForRendering() | Public+3 flags | 0x08 | |
| Texture get_mainTexture() | Public+3 flags | 0x08 | |
| void OnEnable() | 2 flags | 0x00 | |
| void OnDisable() | 2 flags | 0x00 | |
| void OnDestroy() | 2 flags | 0x00 | |
| void OnCanvasHierarchyChanged() | 2 flags | 0x00 | |
| void OnCullingChanged() | Public+2 flags | 0x00 | |
| void Rebuild(const CanvasUpdate& update) | Public+2 flags | 0x04 | |
| void LayoutComplete() | Public+2 flags | 0x00 | |
| void GraphicUpdateComplete() | Public+2 flags | 0x00 | |
| void UpdateMaterial() | 3 flags | 0x00 | |
| void UpdateGeometry() | 3 flags | 0x00 | |
| void DoMeshGeneration() | Private | 0x00 | |
| void DoLegacyMeshGeneration() | Private | 0x00 | |
| Mesh get_workerMesh() | Static+2 flags | 0x08 | |
| void OnFillVBO(List<UnityEngine.UIVertex> vbo) | 3 flags | 0x08 | |
| void OnPopulateMesh(Mesh m) | 3 flags | 0x08 | |
| void OnPopulateMesh(VertexHelper vh) | 3 flags | 0x08 | |
| void OnDidApplyAnimationProperties() | 2 flags | 0x00 | |
| void SetNativeSize() | Public+2 flags | 0x00 | |
| bool Raycast(const Vector2& sp, Camera eventCamera) | Public+2 flags | 0x08 | |
| Vector2 PixelAdjustPoint(const Vector2& point) | Public | 0x08 | |
| Rect GetPixelAdjustedRect() | Public | 0x10 | |
| void CrossFadeColor(const Color& targetColor, float duration, bool ignoreTimeScale, bool useAlpha) | Public+2 flags | 0x10 | |
| void CrossFadeColor(const Color& targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB) | Public+2 flags | 0x10 | |
| Color CreateColorFromAlpha(float alpha) | PrivateStatic | 0x10 | |
| void CrossFadeAlpha(float alpha, float duration, bool ignoreTimeScale) | Public+2 flags | 0x04 | |
| void RegisterDirtyLayoutCallback(UnityAction action) | Public | 0x08 | |
| void UnregisterDirtyLayoutCallback(UnityAction action) | Public | 0x08 | |
| void RegisterDirtyVerticesCallback(UnityAction action) | Public | 0x08 | |
| void UnregisterDirtyVerticesCallback(UnityAction action) | Public | 0x08 | |
| void RegisterDirtyMaterialCallback(UnityAction action) | Public | 0x08 | |
| void UnregisterDirtyMaterialCallback(UnityAction action) | Public | 0x08 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 | |
| Transform UnityEngine.UI.ICanvasElement.get_transform() | PrivateFinal+3 flags | 0x08 |
Subclasses 1
Used by 49
types with a member, parameter or interface of this type<>c<>c__DisplayClass1_0<>c__DisplayClass2_0<>c__DisplayClass38_0Action`1ArraySortHelper`1BaseMeshEffectComparer`1Comparison`1Dictionary`2DOTweenModuleUIEmptyInternalEnumerator`1EntryEnumeratorEqualityComparer`1Graphic[]GraphicRegistryGraphicToggleIsOnTransitionICollection`1IComparer`1IDictionary`2IEnumerator`1IEqualityComparer`1IEquatable`1IList`1Image[]IndexedSet`1InputFieldInternalEnumerator`1IReadOnlyDictionary`2IReadOnlyList`1KeyCollectionKeyValuePair`2List`1MaskMaskableGraphic[]ObjectEqualityComparer`1Predicate`1RaycastHitDataReadOnlyCollection`1SelectableText[]TextMeshProUGUI[]TMP_DropdownTMP_InputFieldTMP_SubMeshUI[]TMP_Text[]ToggleVirtualMouseInput