C# Class UnityEngine.UI.Graphic

Inheritance: UnityEngine.EventSystems.UIBehaviour, ICanvasElement
ファイルを表示 Open project: randomize/VimConfig Class Usage Examples

Protected Properties

Property Type Description
s_DefaultUI Material
s_WhiteTexture Texture2D

Public Methods

Method Description
CrossFadeAlpha ( float alpha, float duration, bool ignoreTimeScale ) : void
CrossFadeColor ( System.Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha ) : void
GetPixelAdjustedRect ( ) : Rect
OnRebuildRequested ( ) : void
PixelAdjustPoint ( System.Vector2 point ) : System.Vector2
Raycast ( System.Vector2 sp, Camera eventCamera ) : bool
Rebuild ( CanvasUpdate update ) : void
RegisterDirtyLayoutCallback ( UnityAction action ) : void
RegisterDirtyMaterialCallback ( UnityAction action ) : void
RegisterDirtyVerticesCallback ( UnityAction action ) : void
SetAllDirty ( ) : void
SetLayoutDirty ( ) : void
SetMaterialDirty ( ) : void
SetNativeSize ( ) : void
SetVerticesDirty ( ) : void
UnregisterDirtyLayoutCallback ( UnityAction action ) : void
UnregisterDirtyMaterialCallback ( UnityAction action ) : void
UnregisterDirtyVerticesCallback ( UnityAction action ) : void

Protected Methods

Method Description
Graphic ( ) : System
OnBeforeTransformParentChanged ( ) : void
OnCanvasHierarchyChanged ( ) : void
OnDidApplyAnimationProperties ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnPopulateMesh ( Mesh m ) : void
OnRectTransformDimensionsChange ( ) : void
OnTransformParentChanged ( ) : void
OnValidate ( ) : void
UpdateGeometry ( ) : void
UpdateMaterial ( ) : void

Private Methods

Method Description
CacheCanvas ( ) : void
CreateColorFromAlpha ( float alpha ) : System.Color
CrossFadeColor ( System.Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB ) : void
ICanvasElement ( ) : Transform
ICanvasElement ( ) : bool
OnFillVBO ( List vbo ) : void

Method Details

CrossFadeAlpha() public method

public CrossFadeAlpha ( float alpha, float duration, bool ignoreTimeScale ) : void
alpha float
duration float
ignoreTimeScale bool
return void

CrossFadeColor() public method

public CrossFadeColor ( System.Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha ) : void
targetColor System.Color
duration float
ignoreTimeScale bool
useAlpha bool
return void

GetPixelAdjustedRect() public method

public GetPixelAdjustedRect ( ) : Rect
return Rect

Graphic() protected method

protected Graphic ( ) : System
return System

OnBeforeTransformParentChanged() protected method

protected OnBeforeTransformParentChanged ( ) : void
return void

OnCanvasHierarchyChanged() protected method

protected OnCanvasHierarchyChanged ( ) : void
return void

OnDidApplyAnimationProperties() protected method

protected OnDidApplyAnimationProperties ( ) : void
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

OnPopulateMesh() protected method

protected OnPopulateMesh ( Mesh m ) : void
m Mesh
return void

OnRebuildRequested() public method

public OnRebuildRequested ( ) : void
return void

OnRectTransformDimensionsChange() protected method

protected OnRectTransformDimensionsChange ( ) : void
return void

OnTransformParentChanged() protected method

protected OnTransformParentChanged ( ) : void
return void

OnValidate() protected method

protected OnValidate ( ) : void
return void

PixelAdjustPoint() public method

public PixelAdjustPoint ( System.Vector2 point ) : System.Vector2
point System.Vector2
return System.Vector2

Raycast() public method

public Raycast ( System.Vector2 sp, Camera eventCamera ) : bool
sp System.Vector2
eventCamera Camera
return bool

Rebuild() public method

public Rebuild ( CanvasUpdate update ) : void
update CanvasUpdate
return void

RegisterDirtyLayoutCallback() public method

public RegisterDirtyLayoutCallback ( UnityAction action ) : void
action UnityAction
return void

RegisterDirtyMaterialCallback() public method

public RegisterDirtyMaterialCallback ( UnityAction action ) : void
action UnityAction
return void

RegisterDirtyVerticesCallback() public method

public RegisterDirtyVerticesCallback ( UnityAction action ) : void
action UnityAction
return void

SetAllDirty() public method

public SetAllDirty ( ) : void
return void

SetLayoutDirty() public method

public SetLayoutDirty ( ) : void
return void

SetMaterialDirty() public method

public SetMaterialDirty ( ) : void
return void

SetNativeSize() public method

public SetNativeSize ( ) : void
return void

SetVerticesDirty() public method

public SetVerticesDirty ( ) : void
return void

UnregisterDirtyLayoutCallback() public method

public UnregisterDirtyLayoutCallback ( UnityAction action ) : void
action UnityAction
return void

UnregisterDirtyMaterialCallback() public method

public UnregisterDirtyMaterialCallback ( UnityAction action ) : void
action UnityAction
return void

UnregisterDirtyVerticesCallback() public method

public UnregisterDirtyVerticesCallback ( UnityAction action ) : void
action UnityAction
return void

UpdateGeometry() protected method

protected UpdateGeometry ( ) : void
return void

UpdateMaterial() protected method

protected UpdateMaterial ( ) : void
return void

Property Details

s_DefaultUI protected_oe static_oe property

protected static Material s_DefaultUI
return Material

s_WhiteTexture protected_oe static_oe property

protected static Texture2D s_WhiteTexture
return Texture2D