Textures & Video
Texture assets and providers, video playback and recording, and media pickers.
Commonly used
TextureRepresents a texture file asset.ProceduralTextureProviderProvides a texture that can be written to or read from.VideoTextureProviderControls a video texture resource.AnimatedTextureFileProviderProvider for animated texture resource.MediaPickerTextureProviderBase class for Texture Providers based on selectable media.
Guides
Code NodeThis guide aims to showcase several important Code Node functions.Introduction to Code NodesThe Code Node is an advanced feature that allows custom shader code to be written directly in Material Editor and VFX Editor, unlocking new effects and performance enhancements…Normal Deform TutorialThis guide is going to show you how to use Vertex Position and Vertex Normal to manipulate your mesh.Person Normals and DepthLens Studio comes with two built-in textures that provides information about surfaces of the body.Post EffectPost effects are visual effects that you can apply to the whole screen.Signed Distance Field GeneratorSigned Distance Fields(SDFs), are a powerful data format that stores distance values in a 3D texture.
All APIs in this topic
Reference assets and other modules with a script input.
Components, assets, and modules
| API | Description |
|---|---|
| CameraRollModule | Provides an interface to the device’s camera roll and allows users to select multiple media. |
| Texture | Represents a texture file asset. |
Objects and data
| API | Description |
|---|---|
| AnimatedTextureFileProvider | Provider for animated texture resource. |
| CameraRollMedia | Represents media selected from the device camera roll. |
| CropTextureProvider | Base class for Texture Providers that crop an input texture. |
| FileTextureProvider | A TextureProvider for textures originating from files. |
| MediaPickerTextureProvider Camera Kit | Base class for Texture Providers based on selectable media. |
| ProceduralTextureProvider | Provides a texture that can be written to or read from. |
| ProxyTextureProvider | Texture Provider used as output from other systems, for instance SnapML. |
| RectCropTextureProvider | Texture Provider providing a cropped region of the input texture. |
| TextureProvider | The base class for specialized Texture providers. |
| VideoRecorder | Allows you to record a new texture (i.e video), based on on another texture. |
| VideoTextureProvider | Controls a video texture resource. |
Enums
| API | Description |
|---|---|
| CameraRollMediaType | Enum representing the type of media selected from camera roll. |
| CompressionQuality | Enum used to define the quality of image or texture compression. |
| FilteringMode | |
| TextureFormat | |
| TextureUsage | Texture capabilities that can be queried for a TextureFormat with DeviceInfoSystem#isFormatSupported. |
| VideoStatus | Describes the current status of a VideoTextureProvider. |
| WrapMode | Describes how a texture should be sampled when using coordinates outside of the normal range. |
Related topics
AR & Tracking › CameraCamera frames and still images, depth, segmentation, and front/back camera events.AR & Tracking › Location & NavigationGPS, compass, maps, city-scale and custom locations, and geo-anchored content.Cloud, Networking & Storage › Remote Assets & MediaLoading media and assets at runtime: RemoteMediaModule, remote references, dynamic resources, and image upload.