Verwendungen von Klasse
net.risingworld.api.assets.TextureAsset
Package
Beschreibung
-
Verwendungen von TextureAsset in net.risingworld.api.assets
Modifizierer und TypMethodeBeschreibungstatic 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 URLModifizierer und TypMethodeBeschreibungvoid
MaterialAsset.setNormalMap
(TextureAsset normalMap) void
MaterialAsset.setTexture
(TextureAsset texture) -
Verwendungen von TextureAsset in net.risingworld.api.definitions
Modifizierer und TypMethodeBeschreibungClothing.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. -
Verwendungen von TextureAsset in net.risingworld.api.objects
Modifizierer und TypMethodeBeschreibungvoid
Player.showRadialMenu
(TextureAsset[] icons, String[] descriptions, String[] overrideTexts, boolean closeOnSelect, Callback<Integer> callback) Shows a "radial menu" or "pie menu" to the player. -
Verwendungen von TextureAsset in net.risingworld.api.ui
-
Verwendungen von TextureAsset in net.risingworld.api.ui.style
-
Verwendungen von TextureAsset in net.risingworld.api.worldelements
Modifizierer und TypMethodeBeschreibungvoid
Prefab.setMaterialParameter
(String path, String parameter, TextureAsset texture) Sets a material parameter.