Uses of Class
net.risingworld.api.assets.ModelAsset
Package
Description
-
Uses of ModelAsset in net.risingworld.api.assets
Modifier and TypeFieldDescriptionstatic final ModelAsset
ModelAsset.ArrowBack
An arrow with a length of 1, facing backward (towards -Z)static final ModelAsset
ModelAsset.ArrowDown
An arrow with a length of 1, facing down (towards -Y)static final ModelAsset
ModelAsset.ArrowForward
An arrow with a length of 1, facing forward (towards Z)static final ModelAsset
ModelAsset.ArrowLeft
An arrow with a length of 1, facing left (towards -X)static final ModelAsset
ModelAsset.ArrowRight
An arrow with a length of 1, facing right (towards X)static final ModelAsset
ModelAsset.ArrowUp
An arrow with a length of 1, facing up (towards Y)static final ModelAsset
ModelAsset.Cube
A boxstatic final ModelAsset
ModelAsset.CubeDoubleSided
An double-sided boxstatic final ModelAsset
ModelAsset.CubeFrame
The frame / edges of a boxstatic final ModelAsset
ModelAsset.Cylinder
A cylinderstatic final ModelAsset
ModelAsset.Plane
A quad with a size of 1x1, facing upwards (y)static final ModelAsset
ModelAsset.Quad
A quad with a size of 1x1, facing forward (z)static final ModelAsset
ModelAsset.Sphere
A sphereModifier and TypeMethodDescriptionstatic ModelAsset
ModelAsset.loadFromFile
(String file) Loads a model from a file.static ModelAsset
ModelAsset.loadFromFile
(String file, ModelImportSettings settings) static ModelAsset
ModelAsset.loadFromGame
(String path) Loads a mesh from the game assets. -
Uses of ModelAsset in net.risingworld.api.collider
ModifierConstructorDescriptionHullCollider
(ModelAsset mesh) Creates a new hull collider using the provided mesh.HullCollider
(ModelAsset mesh, boolean isTrigger) Creates a new hull collider using the provided mesh.MeshCollider
(ModelAsset mesh) Creates a new mesh collider using the provided mesh. -
Uses of ModelAsset in net.risingworld.api.worldelements