Class ImageHook
Inheritance
ImageHook
Implements
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.UI.Tests
Assembly: UnityEngine.UI.Tests.dll
Syntax
public class ImageHook : Image, ICanvasElement, IClippable, IMaskable, IMaterialModifier, ISerializationCallbackReceiver, ILayoutElement, ICanvasRaycastFilter
Fields
cachedClipRect
Declaration
public Rect cachedClipRect
Field Value
Type | Description |
---|---|
Rect |
isGeometryUpdated
Declaration
public bool isGeometryUpdated
Field Value
Type | Description |
---|---|
bool |
isLayoutRebuild
Declaration
public bool isLayoutRebuild
Field Value
Type | Description |
---|---|
bool |
isMaterialRebuilt
Declaration
public bool isMaterialRebuilt
Field Value
Type | Description |
---|---|
bool |
Methods
ResetTest()
Declaration
public void ResetTest()
SetClipRect(Rect, bool)
See IClippable.SetClipRect
Declaration
public override void SetClipRect(Rect clipRect, bool validRect)
Parameters
Type | Name | Description |
---|---|---|
Rect | clipRect | |
bool | validRect |
Overrides
SetLayoutDirty()
Mark the layout as dirty and needing rebuilt.
Declaration
public override void SetLayoutDirty()
Overrides
Remarks
Send a OnDirtyLayoutCallback notification if any elements are registered. See RegisterDirtyLayoutCallback
SetMaterialDirty()
Mark the material as dirty and needing rebuilt.
Declaration
public override void SetMaterialDirty()
Overrides
Remarks
Send a OnDirtyMaterialCallback notification if any elements are registered. See RegisterDirtyMaterialCallback
UpdateGeometry()
Call to update the geometry of the Graphic onto the CanvasRenderer.
Declaration
protected override void UpdateGeometry()