SUIRawImage
العميلالمكونات
في هذا الصنفRaycastTarget
الأعضاء 5
| خاصية | RaycastTarget | Enable Raycast Target. |
| خاصية | Maskable | To check if the graphic is maskable. |
| خاصية | Texture | The RawImage's texture. |
| خاصية | Color | Base color of the Graphic. |
| خاصية | GameObject | – |
الخصائص
RaycastTarget
bool RaycastTarget {get; set; }
Enable Raycast Target.
مثال
Lua
Space.Host.ExecutingObject.UIRawImage.RaycastTarget = true
Maskable
bool Maskable {get; set; }
To check if the graphic is maskable.
مثال
Lua
Space.Host.ExecutingObject.UIRawImage.Maskable = true
Texture
The RawImage's texture.
مثال
Lua
Space.Host.ExecutingObject.UIRawImage.Texture = Space.GetResource("Resource Name")
Color
Base color of the Graphic.
مثال
Lua
Space.Host.ExecutingObject.UIRawImage.Color = Color.Red
GameObjectللقراءة فقط
مثال
Lua
theGameObject = Space.Host.ExecutingObject.UIRawImage.GameObject



