SUIRawImage
ClientComponents
On this classRaycastTarget
Members 5
| Property | RaycastTarget | Enable Raycast Target. |
| Property | Maskable | To check if the graphic is maskable. |
| Property | Texture | The RawImage's texture. |
| Property | Color | Base color of the Graphic. |
| Property | GameObject | – |
Properties
RaycastTarget
bool RaycastTarget {get; set; }
Enable Raycast Target.
Example
Lua
Space.Host.ExecutingObject.UIRawImage.RaycastTarget = true
Maskable
bool Maskable {get; set; }
To check if the graphic is maskable.
Example
Lua
Space.Host.ExecutingObject.UIRawImage.Maskable = true
Texture
The RawImage's texture.
Example
Lua
Space.Host.ExecutingObject.UIRawImage.Texture = Space.GetResource("Resource Name")
Color
Base color of the Graphic.
Example
Lua
Space.Host.ExecutingObject.UIRawImage.Color = Color.Red
GameObjectRead only
Example
Lua
theGameObject = Space.Host.ExecutingObject.UIRawImage.GameObject



