The content type for displaying textures. More...
Public Member Functions | |
override Texture | GetPreviewTexture () |
Gets the preview texture of the content. | |
![]() | |
virtual void | Dispose () |
Disposes the content. | |
RectTransform | Load (Content content) |
Loads the content. | |
Static Public Member Functions | |
static Frame | CreateFrame (Texture texture) |
Creates a frame with the texture. | |
Public Attributes | |
Texture | texture |
The texture of the content. | |
![]() | |
Content | content |
The content that is being displayed. | |
Protected Member Functions | |
override void | LoadContentData (Content content) |
Loads the data of the content. | |
override bool | ValidateProperties () |
Validates the properties of the content. | |
![]() | |
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. | |
Properties | |
override bool | allowZoom [get] |
Whether the content can be zoomed. | |
override string | name [get] |
The name of the content type. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
RawImage | contentRawImage |
The RawImage component of the content. | |
![]() | |
RectTransform | contentRectTransform |
The RectTransform of the content. | |
The content type for displaying textures.
Creates a frame with the texture.
texture | The texture. |
|
virtual |
Gets the preview texture of the content.
Reimplemented from ContentType.
|
protected |
Loads the data of the content.
content | The content. |
|
protected |
Validates the properties of the content.