RawImage

More information can be found in the Unity API Reference

Members

Member

Description

canvas

color

defaultMaterial

depth

gameObject

isMaskingGraphic

mainTexture

maskable

material

materialForRendering

raycastPadding

raycastTarget

rectTransform

texture

transform

uvRect

Events

Event

Description

onPointerClick

onPointerDown

onPointerEnter

onPointerExit

onPointerUp

Methods

Method

Description

CrossFadeAlpha(alpha, duration, ignoreTimeScale)

CrossFadeColor(targetColor, duration, ignoreTimeScale, useAlpha)

CrossFadeColor(targetColor, duration, ignoreTimeScale, useAlpha, useRGB)

Cull(clipRect, validRect)

GetModifiedMaterial(baseMaterial)

GetPixelAdjustedRect()

GraphicUpdateComplete()

IsActive()

IsDestroyed()

LayoutComplete()

OnCullingChanged()

PixelAdjustPoint(point)

Raycast(sp, eventCamera)

RecalculateClipping()

RecalculateMasking()

SetAllDirty()

SetClipRect(clipRect, validRect)

SetClipSoftness(clipSoftness)

SetLayoutDirty()

SetMaterialDirty()

SetNativeSize()

SetRaycastDirty()

SetVerticesDirty()

ToString()

Static members

Member

Description

defaultGraphicMaterial

Details

class RawImage
const Canvas canvas
Color color
const Material defaultMaterial
const int depth
const GameObject gameObject
bool isMaskingGraphic
const Texture mainTexture
bool maskable
Material material
const Material materialForRendering
Vector4 raycastPadding
bool raycastTarget
const RectTransform rectTransform
Texture texture
const Transform transform
Rect uvRect
const ScriptEvent onPointerClick

Callback Signature:

void callback()
const ScriptEvent onPointerDown

Callback Signature:

void callback()
const ScriptEvent onPointerEnter

Callback Signature:

void callback()
const ScriptEvent onPointerExit

Callback Signature:

void callback()
const ScriptEvent onPointerUp

Callback Signature:

void callback()
void CrossFadeAlpha(float alpha, float duration, bool ignoreTimeScale)
void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha)
void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB)
void Cull(Rect clipRect, bool validRect)
Material GetModifiedMaterial(Material baseMaterial)
Rect GetPixelAdjustedRect()
void GraphicUpdateComplete()
bool IsActive()
bool IsDestroyed()
void LayoutComplete()
void OnCullingChanged()
Vector2 PixelAdjustPoint(Vector2 point)
bool Raycast(Vector2 sp, Camera eventCamera)
void RecalculateClipping()
void RecalculateMasking()
void SetAllDirty()
void SetClipRect(Rect clipRect, bool validRect)
void SetClipSoftness(Vector2 clipSoftness)
void SetLayoutDirty()
void SetMaterialDirty()
void SetNativeSize()
void SetRaycastDirty()
void SetVerticesDirty()
string ToString()
static const Material defaultGraphicMaterial