Returns true if the GameObject and the Component are active. Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour. Stops all coroutines running on this behaviour. Invokes the method methodName in time seconds, then repeatedly every repeatRate seconds. Invokes the method methodName in time seconds. ![]() See IMaterialModifier.GetModifiedMaterial.Ĭancels all Invoke calls on this MonoBehaviour. Remove a listener from receiving notifications when the graphics vertices are dirtied. Remove a listener from receiving notifications when the graphics material is dirtied. Remove a listener from receiving notifications when the graphics layout is dirtied. Rebuilds the graphic geometry and its material on the PreRender cycle.Īdd a listener to receive notification when the graphics layout is dirtied.Īdd a listener to receive notification when the graphics material is dirtied.Īdd a listener to receive notification when the graphics vertices are dirtied. Then it uses this Raycast function to determine the elements hit by the raycast. First it filters the elements using their RectTransform rect. When a GraphicRaycaster is raycasting into the Scene it does two things. See ICanvasElement.GraphicUpdateComplete.Ĭallback function to call when the culling has changed.Įditor-only callback that is issued by Unity if a rebuild of the Graphic is required.Īdjusts the given pixel to be pixel perfect. Returns a pixel perfect Rect closest to the Graphic RectTransform. Tweens the CanvasRenderer color associated with this Graphic. Tweens the alpha of the CanvasRenderer color associated with this Graphic. Returns all components of Type type in the GameObject or any of its parents.Ĭalls the method named methodName on every MonoBehaviour in this game object.Ĭalls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. Returns all components of Type type in the GameObject or any of its children. Returns all components of Type type in the GameObject. Returns the component of Type type in the GameObject or any of its parents. Returns the component of Type type in the GameObject or any of its children using depth first search. Returns the component of Type type if the game object has one attached, null if it doesn't. ![]() Should the object be hidden, saved with the Scene or modifiable by the user?Ĭalls the method named methodName on every MonoBehaviour in this game object or any of its children. The RectTransform component used by the Graphic.Īllow a specific instance of a MonoBehaviour to run in edit mode (only available in the editor).ĭisabling this lets you skip the GUI layout phase. Should this graphic be considered a target for raycasting? The material that will be sent for Rendering (Read only). Returns the default material for the graphic.Ībsolute depth of the graphic in the hierarchy, used by rendering and events. The Transform attached to this GameObject.Ī reference to the Canvas this Graphic is rendering to. A component is always attached to a game object. The game object this component is attached to. Has the Behaviour had active and enabled called? The sprite that is used to render this image.Īllows you to specify whether the UI Image should be displayed using the mesh generated by the TextureImporter, or by a simple quad mesh.Įnabled Behaviours are Updated, disabled Behaviours are not. ![]() ![]() Whether this image should preserve its Sprite aspect ratio. Set an override sprite to be used for rendering. The default Material is used instead if one wasn't specified. The specified Material used by this Image. Value means different things with each fill method. Whether the Image should be filled clockwise (true) or counter-clockwise (false).Ĭontrols the origin point of the Fill process. Whether or not to render the center of a Tiled or Sliced image. The alpha threshold specifies the minimum alpha a pixel must have for the event to considered a "hit" on the Image.Īmount of the Image shown when the Image.type is set to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |