0
0
Unityframework~5 mins

Image and raw image components in Unity - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the primary purpose of the Image component in Unity UI?
The Image component is used to display sprites (2D images) in the UI, such as icons, buttons, and backgrounds.
Click to reveal answer
beginner
How does the RawImage component differ from the Image component in Unity?
RawImage displays textures directly without requiring them to be sprites, making it suitable for showing videos or dynamically generated textures.
Click to reveal answer
intermediate
Which property of the Image component controls how the image is filled or sliced?
The 'Image Type' property controls how the image is rendered: Simple, Sliced, Tiled, or Filled.
Click to reveal answer
intermediate
Can you use a RawImage component to display a sprite directly?
No, RawImage requires a Texture, not a Sprite. Sprites must be converted to textures or use the Image component instead.
Click to reveal answer
beginner
What is a common use case for RawImage in Unity UI?
Displaying video frames, webcam feeds, or procedural textures that are not sprites.
Click to reveal answer
Which Unity UI component is best for displaying a sprite with slicing options?
AText
BImage
CRawImage
DButton
What type of asset does RawImage require to display content?
ATexture
BSprite
CAudioClip
DMaterial
Which Image Type allows an image to be filled gradually, like a progress bar?
AFilled
BSliced
CTiled
DSimple
If you want to show a webcam feed in your UI, which component should you use?
ASlider
BImage
CText
DRawImage
Can the Image component display a video frame directly?
AYes, using a sprite
BYes, using a texture
CNo, it requires a RawImage
DNo, videos are not supported in UI
Explain the differences between the Image and RawImage components in Unity UI.
Think about what kind of image data each component handles and their common uses.
You got /4 concepts.
    Describe a scenario where you would choose RawImage over Image in a Unity project.
    Consider dynamic or non-sprite image sources.
    You got /4 concepts.