SUIRawImage
ClientComposants
Dans cette classeRaycastTarget
Membres 5
| Propriété | RaycastTarget | Enable Raycast Target. |
| Propriété | Maskable | To check if the graphic is maskable. |
| Propriété | Texture | The RawImage's texture. |
| Propriété | Color | Base color of the Graphic. |
| Propriété | GameObject | – |
Propriétés
RaycastTarget
bool RaycastTarget {get; set; }
Enable Raycast Target.
Exemple
Lua
Space.Host.ExecutingObject.UIRawImage.RaycastTarget = true
Maskable
bool Maskable {get; set; }
To check if the graphic is maskable.
Exemple
Lua
Space.Host.ExecutingObject.UIRawImage.Maskable = true
Texture
The RawImage's texture.
Exemple
Lua
Space.Host.ExecutingObject.UIRawImage.Texture = Space.GetResource("Resource Name")
Color
Base color of the Graphic.
Exemple
Lua
Space.Host.ExecutingObject.UIRawImage.Color = Color.Red
GameObjectLecture seule
Exemple
Lua
theGameObject = Space.Host.ExecutingObject.UIRawImage.GameObject



