class in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
A component that will render to the screen after all normal rendering has completed when attached to a Canvas. Designed for GUI application.
|Depth of the renderer relative to the root canvas.
|The clipping softness to apply to the renderer.
|Indicates whether geometry emitted by this renderer is ignored.
|Indicates whether geometry emitted by this renderer can be ignored when the vertex color alpha is close to zero for every vertex of the mesh.
|True if any change has occured that would invalidate the positions of generated geometry.
|Enable 'render stack' pop draw call.
|True if rect clipping has been enabled on this renderer. See Also: CanvasRenderer.EnableRectClipping, CanvasRenderer.DisableRectClipping.
|The number of materials usable by this renderer.
|The number of materials usable by this renderer. Used internally for masking.
|Depth of the renderer realative to the parent canvas.
|Remove all cached vertices.
|Disables rectangle clipping for this CanvasRenderer.
|Enables rect clipping on the CanvasRendered. Geometry outside of the specified rect will be clipped (not rendered).
|Get the current alpha of the renderer.
|Get the current color of the renderer.
|Get the final inherited alpha calculated by including all the parent alphas from included parent CanvasGroups.
|Gets the current Material assigned to the CanvasRenderer.
|Gets the current Material assigned to the CanvasRenderer. Used internally for masking.
|Set the alpha of the renderer. Will be multiplied with the UIVertex alpha and the Canvas alpha.
|The Alpha Texture that will be passed to the Shader under the _AlphaTex property.
|Set the color of the renderer. Will be multiplied with the UIVertex color and the Canvas color.
|Set the material for the canvas renderer. If a texture is specified then it will be used as the 'MainTex' instead of the material's 'MainTex'. See Also: CanvasRenderer.SetMaterialCount, CanvasRenderer.SetTexture.
|Sets the Mesh used by this renderer. Note the Mesh must be read/write enabled.
|Set the material for the canvas renderer. Used internally for masking.
|Sets the texture used by this renderer's material.
|Take the Vertex steam and split it corrisponding arrays (positions, colors, uv0s, uv1s, normals and tangents).
|Convert a set of vertex components into a stream of UIVertex.
|Given a list of UIVertex, split the stream into it's component types.
|(Editor Only) Event that gets fired whenever the data in the CanvasRenderer gets invalidated and needs to be rebuilt.
|The game object this component is attached to. A component is always attached to a game object.
|The tag of this game object.
|The Transform attached to this GameObject.
|Should the object be hidden, saved with the Scene or modifiable by the user?
|The name of the object.
|Calls the method named methodName on every MonoBehaviour in this game object or any of its children.
|Is this game object tagged with tag ?
|Returns the component of Type type if the game object has one attached, null if it doesn't.
|Returns the component of Type type in the GameObject or any of its children using depth first search.
|Returns the component of Type type in the GameObject or any of its parents.
|Returns all components of Type type in the GameObject.
|Returns all components of Type type in the GameObject or any of its children using depth first search. Works recursively.
|Returns all components of Type type in the GameObject or any of its parents.
|Calls the method named methodName on every MonoBehaviour in this game object.
|Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.
|Gets the component of the specified type, if it exists.
|Returns the instance id of the object.
|Returns the name of the object.
|Removes a GameObject, component or asset.
|Destroys the object obj immediately. You are strongly recommended to use Destroy instead.
|Do not destroy the target Object when loading a new Scene.
|Returns the first active loaded object of Type type.
|Returns a list of all active loaded objects of Type type.
|Clones the object original and returns the clone.