Uses of Class
net.risingworld.api.assets.TextureAsset
Packages that use TextureAsset
Package
Description
-
Uses of TextureAsset in net.risingworld.api.assets
Methods in net.risingworld.api.assets that return TextureAssetModifier and TypeMethodDescriptionstatic TextureAsset
TextureAsset.load
(byte[] data) Loads a texture from raw byte data.static TextureAsset
TextureAsset.loadFromAssetBundle
(AssetBundle bundle, String path) static TextureAsset
TextureAsset.loadFromFile
(String file) Creates a new texture asset instance and loads the texture / image from a file on the hard drive.static TextureAsset
TextureAsset.loadFromGame
(String path) Loads a texture / image from the game assets.static TextureAsset
TextureAsset.loadFromPlugin
(Plugin plugin, String resource) Creates a new texture asset instance and loads the texture / image from the plugin jar file.static TextureAsset
TextureAsset.loadFromURL
(String url) Loads a texture from an URLMethods in net.risingworld.api.assets with parameters of type TextureAssetModifier and TypeMethodDescriptionvoid
MaterialAsset.setNormalMap
(TextureAsset normalMap) void
MaterialAsset.setTexture
(TextureAsset texture) -
Uses of TextureAsset in net.risingworld.api.definitions
Methods in net.risingworld.api.definitions that return TextureAssetModifier and TypeMethodDescriptionClothing.ClothingDefinition.getIcon
(int texture) Gets the ingame icon of these clothes as TextureAsset.Constructions.ConstructionDefinition.getIcon
(int texture) Gets the ingame icon of this construction element as TextureAsset.Items.ItemDefinition.getIcon
(int texture) Gets the ingame icon of this item as TextureAsset.Objects.ObjectDefinition.getIcon
(int variant) Gets the ingame icon of this object as TextureAsset. -
Uses of TextureAsset in net.risingworld.api.objects
Methods in net.risingworld.api.objects with parameters of type TextureAssetModifier and TypeMethodDescriptionvoid
Player.showRadialMenu
(TextureAsset[] icons, String[] descriptions, String[] overrideTexts, boolean closeOnSelect, Callback<Integer> callback) Shows a "radial menu" or "pie menu" to the player. -
Uses of TextureAsset in net.risingworld.api.ui
Methods in net.risingworld.api.ui with parameters of type TextureAsset -
Uses of TextureAsset in net.risingworld.api.ui.style
Methods in net.risingworld.api.ui.style that return TextureAssetMethods in net.risingworld.api.ui.style with parameters of type TextureAsset -
Uses of TextureAsset in net.risingworld.api.worldelements
Methods in net.risingworld.api.worldelements with parameters of type TextureAssetModifier and TypeMethodDescriptionvoid
Prefab.setMaterialParameter
(String path, String parameter, TextureAsset texture) Sets a material parameter.