Represents a view of a camera when displayed using the camera:// protocol.
|
| CameraFormat () |
|
void | SetPath (string path) |
| Sets the URI to the camera. More...
|
|
void | Release () |
| Releases this format now. More...
|
|
override void | OnLayout (Css.RenderableData context, LayoutBox box, out float width, out float height) |
| Called just before the image is about to be drawn (only ever when it's actually visible). Note that everything else - e.g. ImageMaterial or Width/Height - is always called after this. More...
|
|
override string[] | GetNames () |
| The set of lowercase file types that this format will handle. More...
|
|
override ImageFormat | Instance () |
| Creates an instance of this format. More...
|
|
| PictureFormat () |
|
| PictureFormat (Texture image) |
|
override string[] | GetNames () |
| The set of lowercase file types that this format will handle. More...
|
|
override ImageFormat | Instance () |
| Creates an instance of this format. More...
|
|
override Material | GetImageMaterial (ShaderSet shaders) |
| A single-frame image material. Used for e.g. videos and animations. More...
|
|
override bool | LoadFromAsset (UnityEngine.Object asset, ImagePackage package) |
| Attempt to load the image from a Unity resource. More...
|
|
override bool | LoadData (byte[] data, ImagePackage package) |
| Loads the raw block of data into an object of this format. More...
|
|
override int | GetAtlasID () |
| Get the identifier used for this content on an atlas. More...
|
|
override bool | DrawToAtlas (TextureAtlas atlas, AtlasLocation location) |
| Draws this image to the given atlas. More...
|
|
Material | GetImageMaterial () |
| A single-frame image material using the standard UI shader set. Used for e.g. videos and animations. More...
|
|
virtual bool | InternallyCached (Location path, ImagePackage package) |
| Some formats may cache their result internally. This checks and updates if it has. More...
|
|
virtual void | OnLayout (RenderableData context, LayoutBox box, out float width, out float height) |
| Called when the host element is drawing. More...
|
|
virtual void | ClearX () |
| Resets this image format container. More...
|
|
virtual void | GoingOnDisplay (Css.RenderableData context) |
| Called when this image is going to be displayed. More...
|
|
virtual void | GoingOffDisplay () |
| Called when this image is going to stop being displayed. More...
|
|