The base class for content types that use the RawImage to display content. More...
Protected Member Functions | |
void | CreateDisplayTarget (Content content) |
Creates the display target for the content. | |
override RectTransform | LoadContent (Content content) |
Loads the content. | |
void | LoadContentData (Content content) |
Loads the data of the content. | |
bool | ValidateProperties () |
Validates the properties of the content. | |
![]() | |
void | CreateContent (RectTransform container) |
Creates the content. | |
RectTransform | LoadContent (Content content) |
Loads the content. | |
Protected Attributes | |
RawImage | contentRawImage |
The RawImage component of the content. | |
![]() | |
RectTransform | contentRectTransform |
The RectTransform of the content. | |
Additional Inherited Members | |
![]() | |
virtual void | Dispose () |
Disposes the content. | |
virtual Texture | GetPreviewTexture () |
Gets the preview texture of the content. | |
RectTransform | Load (Content content) |
Loads the content. | |
![]() | |
Content | content |
The content that is being displayed. | |
![]() | |
virtual bool | allowZoom [get] |
Whether the content can be zoomed. | |
string | name [get] |
The name of the content type. | |
MessageSystem | messageSystem [get] |
The message system of the content. | |
The base class for content types that use the RawImage to display content.
|
protected |
Creates the display target for the content.
content | The content. |
|
protected |
Loads the content.
content | The content. |
|
abstractprotected |
Loads the data of the content.
content | The content. |
|
abstractprotected |
Validates the properties of the content.