The class for content types that use the RawImage to display audio content. More...
Public Member Functions | |
override void | Dispose () |
Disposes the content. | |
![]() | |
virtual Texture | GetPreviewTexture () |
Gets the preview texture of the content. | |
RectTransform | Load (Content content) |
Loads the content. | |
Static Public Member Functions | |
static Frame | CreateFrame (AudioClip audioClip, Texture2D poster=null) |
Creates a frame with the audio. | |
Public Attributes | |
AudioClip | audioClip |
The AudioClip of the content. | |
bool | loop |
Whether the audio should be played in a loop. | |
Texture2D | poster |
The poster 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. | |
![]() | |
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 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 class for content types that use the RawImage to display audio content.
|
static |
Creates a frame with the audio.
audioClip | AudioClip of the frame. |
poster | Poster of the frame. |
|
protected |
Loads the data of the content.
content | The content. |