TexturesModule Overview
TexturesModule Overview
GalleryTexture

GalleryTexture

The GalleryTexture class encapsulates a texture that was picked from the gallery.

Inherits From : TextureBase

Properties

PropertyDescription
onMediaChange
(get) onMediaChange: EventSource<GalleryTextureMediaBase>
(set) (Not Available)


Returns an EventSource that will fire when the user selected a new Gallery Texture media.
The event will contain either a GalleryTextureMediaImage or GalleryTextureMediaVideo object
that will hold additional API for controlling playback.
state
(get) state: StringSignal<State>
(set) (Not Available)


Specifies a Signal representing the state of the gallery texture. The value of the signal is
guaranteed to be a member of the TexturesModule.GalleryTexture.State enumeration.

Methods

This module exposes no methods.

Enums

EnumDescription
MediaTypeThe MediaType enum describes the media types of a GalleryTexture.
StateThe State enum describes the state of a GalleryTexture.

Was this article helpful?