Uses of Class
net.risingworld.api.assets.TextureAsset
Package
Description
-
Uses of TextureAsset in net.risingworld.api.assets
Modifier 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 URLModifier and TypeMethodDescriptionvoid
MaterialAsset.setNormalMap
(TextureAsset normalMap) void
MaterialAsset.setTexture
(TextureAsset texture) -
Uses of TextureAsset in net.risingworld.api.objects
Modifier 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
-
Uses of TextureAsset in net.risingworld.api.ui.style
-
Uses of TextureAsset in net.risingworld.api.worldelements
Modifier and TypeMethodDescriptionvoid
Prefab.setMaterialParameter
(String path, String parameter, TextureAsset texture) Sets a material parameter.