![]() Opens a dialog to replace the texture with another file Arguments: ![]() Returns: Texture updateSource( dataUrl ) Arguments: error_id: number (Optional) - Sets the error ID of the texture.Loads the default white error texture Arguments: Returns: Texture fromDataURL( data_url ) Arguments: Returns: Texture fromPath( path ) Arguments: Returns: Texture fromFile( file ) Arguments: Returns: Texture fromJavaLink( link, path_array ) Arguments: cb: See types (Optional) - Callback function.Loads the texture from it's current source Arguments: Returns: string extend( data ) Arguments: Note: This may not always be up to date with the texture data Whether the latest version of the texture is currently loaded from and linked to a file on disk, or held in memory as bitmap data Whether the texture canvas is displayed in the UV/2D editor, for live feedback Can be a path (desktop app only), or a base64 data URL HTML-style source of the texture's displayed data. "backwards" or "custom" or "loop" or "back_and_forth" Used by some formats such as Java Block/Item Whether the texture is used for the models particle system. By default this is a number that increases with every texture that is added Relative path to the file's directory, used by some formats such as Java Block/Item ![]() Textures can be linked to files on the local hard drive, or hold the information in RAM. A texture combines the functionality of material, texture, and image, in one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |