Class SceneComponent
Inheritance
java.lang.Object
SceneComponent
Syntax
public class SceneComponent
Methods
addToScene()
Declaration
getName()
Declaration
Returns
getParent()
Declaration
public Entity getParent()
Returns
getParentScene()
Declaration
public Scene getParentScene()
Returns
Declaration
public Transform getTransform()
Returns
init()
Declaration
Declaration
public void input(float delta)
Parameters
Type |
Name |
Description |
float |
delta |
|
render(Shader shader, RenderingEngine engine)
Declaration
public void render(Shader shader, RenderingEngine engine)
Parameters
setName(String name)
Declaration
public void setName(String name)
Parameters
Type |
Name |
Description |
String |
name |
|
setParent(Entity parent)
Declaration
public void setParent(Entity parent)
Parameters
Type |
Name |
Description |
Entity |
parent |
|
update(float delta)
Declaration
public void update(float delta)
Parameters
Type |
Name |
Description |
float |
delta |
|