public static class MrScene.Builder extends MrObject.MrObjectBuilder
mName, mShaderProgram, mTransform, mUniformKeys
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MrScene |
createScene() |
MrScene.Builder |
setClearColor(MrVector4f clearColor) |
MrScene.Builder |
setName(java.lang.String name)
Sets the name of this object.
|
MrScene.Builder |
setShaderProgram(MrShaderProgram program)
Sets the shader program of this object.
|
MrScene.Builder |
setTransform(MrTransform transform)
Sets the transform of this object.
|
MrScene.Builder |
setUniformKeys(java.util.Map<java.lang.String,MrUniformKey> uniformKeys)
Sets the uniformkeys of this object.
|
public MrScene.Builder setName(java.lang.String name)
MrObject.MrObjectBuilder
setName
in class MrObject.MrObjectBuilder
public MrScene.Builder setTransform(MrTransform transform)
MrObject.MrObjectBuilder
setTransform
in class MrObject.MrObjectBuilder
public MrScene.Builder setShaderProgram(MrShaderProgram program)
MrObject.MrObjectBuilder
setShaderProgram
in class MrObject.MrObjectBuilder
public MrScene.Builder setUniformKeys(java.util.Map<java.lang.String,MrUniformKey> uniformKeys)
MrObject.MrObjectBuilder
setUniformKeys
in class MrObject.MrObjectBuilder
public MrScene.Builder setClearColor(MrVector4f clearColor)
public MrScene createScene()