Class Model
java.lang.Object
net.risingworld.api.worldelements.GameObject
net.risingworld.api.worldelements.Model
Represents a custom 3d model or mesh. You can assign a custom material to it
-
Nested Class Summary
Nested classes/interfaces inherited from class net.risingworld.api.worldelements.GameObject
GameObject.AttachTarget
-
Constructor Summary
ConstructorDescriptionModel()
Model
(MeshAsset mesh, MaterialAsset material) Model
(ModelAsset mesh, MaterialAsset material) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setMaterial
(MaterialAsset material) void
void
setMesh
(ModelAsset model) Methods inherited from class net.risingworld.api.worldelements.GameObject
addChild, addComponent, attachTo, attachTo, deleteAttribute, getAttribute, getAttributes, getChildCount, getChilds, getCollider, getID, getLayer, getLocalPosition, getLocalRotation, getLocalScale, getParent, getPluginID, hasAttribute, hasAttribute, invokeComponentMethod, isActive, isAttached, isColliderVisible, isDisposed, moveToLocalPosition, moveToLocalPosition, moveToLocalPosition, moveToLocalPosition, moveToLocalTransform, readWorldPosition, readWorldRotation, removeAllChilds, removeChild, removeComponent, removeFromParent, rotateToLocalRotation, setActive, setAttribute, setCollider, setColliderVisible, setComponentEnabled, setComponentProperty, setLayer, setLocalPosition, setLocalPosition, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale
-
Constructor Details
-
Model
public Model() -
Model
-
Model
-
-
Method Details
-
setMesh
-
setMesh
-
setMaterial
-