The ExternalTexture
class encapsulates a visual asset that is downloaded over the network.
Inherits From : TextureBase
Property | Description |
---|---|
| (get) colorEncoding: StringSignal<TextureColorEncoding> Specifies the color encoding this texture would be using. Note: Color encoding only affects the texture in AVAILABLE state.Default: TextureColorEncoding.LINEAR . |
| (get) filteringMode: StringSignal<TextureFilteringMode> Specifices the filtering mode to use to address size mismatch between image data and it's rendered representation. Default: TextureFilteringMode.BILINEAR .Note: Filtering mode only affects the texture in AVAILABLE state.Note: BILINEAR_MIPMAP and TRILINEAR modes on non power of two textures is not supported and becomes a no-op. |
| (get) state: StringSignal<ExternalTexture.State> Specifies a StringSignal<ExternalTexture.State> representing the loading state of the external texture.The value of the signal is guaranteed to be a member of the TexturesModule.ExternalTexture.State enumeration. |
| (get) url: StringSignal Specifies the URL of the texture to be downloaded. |
| (get) uWrapMode: StringSignal<TextureWrapMode> Specifies how this texture is going to "tile" along it's horizontal axis. Default: TextureWrapMode.CLAMP .Note: Wrap mode only affects the texture in AVAILABLE state.Note: Non- CLAMP mode on non power of two textures is not supported and becomes a no-op. |
| (get) vWrapMode: StringSignal<TextureWrapMode> Specifies how this texture is going to "tile" along it's vertical axis. Default: TextureWrapMode.CLAMP .Note: Wrap mode only affects the texture in AVAILABLE state.Note: Non- CLAMP mode on non power of two textures is not supported and becomes a no-op. |
This module exposes no methods.
Enum | Description |
---|---|
State | The State enum describes the download state of an ExternalTexture. |