Canvas

More information can be found in the Unity API Reference

Constructors

Constructor

Description

Canvas()

Members

Member

Description

cachedSortingLayerValue

enabled

gameObject

isActiveAndEnabled

isRootCanvas

name

normalizedSortingGridSize

overridePixelPerfect

overrideSorting

pixelPerfect

pixelRect

planeDistance

referencePixelsPerUnit

renderingDisplaySize

renderOrder

rootCanvas

scaleFactor

sortingLayerID

sortingLayerName

sortingOrder

tag

targetDisplay

transform

worldCamera

Methods

Method

Description

CompareTag(tag)

GetHashCode()

ToString()

Static methods

Method

Description

ForceUpdateCanvases()

GetDefaultCanvasMaterial()

GetETC1SupportedCanvasMaterial()

Details

class Canvas
Canvas Canvas()
const int cachedSortingLayerValue
bool enabled
const GameObject gameObject
const bool isActiveAndEnabled
const bool isRootCanvas
string name
float normalizedSortingGridSize
bool overridePixelPerfect
bool overrideSorting
bool pixelPerfect
const Rect pixelRect
float planeDistance
float referencePixelsPerUnit
const Vector2 renderingDisplaySize
const int renderOrder
const Canvas rootCanvas
float scaleFactor
int sortingLayerID
string sortingLayerName
int sortingOrder
string tag
int targetDisplay
const Transform transform
Camera worldCamera
bool CompareTag(string tag)
int GetHashCode()
string ToString()
static void ForceUpdateCanvases()
static Material GetDefaultCanvasMaterial()
static Material GetETC1SupportedCanvasMaterial()