public class MrSceneData extends MrObjectData
mName, mSceneObjType, mShaderProgram, mTransform, mUniformGenerators, mUniformKeys
Constructor and Description |
---|
MrSceneData(java.lang.String name) |
MrSceneData(java.lang.String name,
MrTransform transform,
MrShaderProgram program,
java.util.Map<java.lang.String,MrUniformKey> uniformKeys,
MrVector4f clearColor) |
MrSceneData(java.lang.String name,
MrVector4f clearColor) |
Modifier and Type | Method and Description |
---|---|
MrVector4f |
getClearColor() |
void |
initializeUniforms() |
void |
setClearColor(float r,
float g,
float b,
float a) |
void |
setClearColor(MrVector4f clearColor) |
getName, getSceneObjectType, getShaderProgram, getTransform, getUniformGenerators, getUniformKeys, setTransform, setUniformGenerators, setUniformKeys
public MrSceneData(java.lang.String name, MrTransform transform, MrShaderProgram program, java.util.Map<java.lang.String,MrUniformKey> uniformKeys, MrVector4f clearColor)
public MrSceneData(java.lang.String name, MrVector4f clearColor)
public MrSceneData(java.lang.String name)
public void initializeUniforms()
initializeUniforms
in class MrObjectData
public MrVector4f getClearColor()
public void setClearColor(MrVector4f clearColor)
public void setClearColor(float r, float g, float b, float a)