![]() By that, we mean that both of these methods are only meant to remove the. no_undo: boolean (Optional) - If true, no undo point is created. But at the same time, we want to continue using our favorite texture pack while.use_cache: boolean (Optional) - Whether to use the cached canvas/jimp instance.edit_name: string (Optional) - Name of the undo entry that is created.method: "canvas" or "jimp" (Optional) - Edit method.options: TextureEditOptions - Editing options.Returns: string edit( callback, options ) Returns the content of the texture as a base64 encoded string Scroll the texture list to this texture save( as ) Arguments: Returns: Texture showContextMenu( event ) Arguments: Opens the texture in the configured image editor Shows the texture file in the file explorer If 'blank', the texture is only applied to blank faces all: boolean or "blank" - If true, the texture is applied to all faces of the elements.The interface is not updated, no undo point is createdĮnables 'particle' on this texture if it is not enabled on any other textureĪpplies the texture to the selected elements Arguments: no_update: boolean (Optional) - If true, the texture is silently removed.undo: boolean (Optional) - If true, an undo point is created.This makes Blockbench perfect for making custom models for Minecraft, but this does mean it has limited uses outside of making models for Minecraft. You can also export directly to Minecraft. Returns: MeshLambertMaterial select( ) Arguments:Īdds texture to the textures list and initializes it Arguments: Blockbench is a 3D modeling program that allows you to create models only using cubes. Only works in the desktop app getMaterial() force: boolean - If true, no warning appears of the texture has unsaved changes.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 |