RendererVariableManager

Inheritance: java.lang.Object

public abstract class RendererVariableManager

This class manages variables used in rendering

Methods

MethodDescription
equals(Object arg0)
getCameraPosition()Camera’s position in world coordinate system
getClass()
getDepthBias()Depth bias for shadow mapping, default value is 0.001
getMatrixLightSpace()Matrix for light space transformation
getMatrixProjection()Matrix for projection transformation
getMatrixView()Matrix for view transformation
getMatrixViewProjection()Matrix for view and projection transformation.
getMatrixWorld()Matrix for world transformation
getMatrixWorldNormal()Matrix for converting normal from object to world space.
getMatrixWorldViewProjection()Matrix for world view and projection transformation
getShadowCaster()Position of shadow caster in world coordinate system
getShadowmap()The depth texture used for shadow mapping
getViewportSize()Size of viewport, measured in pixel
getWorldAmbient()Ambient color defined in viewport.
getWorldTime()Time in seconds
hashCode()
notify()
notifyAll()
setCameraPosition(FVector3 value)Camera’s position in world coordinate system
setDepthBias(float value)Depth bias for shadow mapping, default value is 0.001
setMatrixLightSpace(FMatrix4 value)Matrix for light space transformation
setMatrixProjection(FMatrix4 value)Matrix for projection transformation
setMatrixView(FMatrix4 value)Matrix for view transformation
setShadowCaster(FVector3 value)Position of shadow caster in world coordinate system
setShadowmap(ITextureUnit value)The depth texture used for shadow mapping
setViewportSize(FVector2 value)Size of viewport, measured in pixel
setWorldAmbient(FVector3 value)Ambient color defined in viewport.
setWorldTime(float value)Time in seconds
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCameraPosition()

public FVector3 getCameraPosition()

Camera’s position in world coordinate system

Returns: FVector3

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDepthBias()

public float getDepthBias()

Depth bias for shadow mapping, default value is 0.001

Returns: float

getMatrixLightSpace()

public FMatrix4 getMatrixLightSpace()

Matrix for light space transformation

Returns: FMatrix4

getMatrixProjection()

public FMatrix4 getMatrixProjection()

Matrix for projection transformation

Returns: FMatrix4

getMatrixView()

public FMatrix4 getMatrixView()

Matrix for view transformation

Returns: FMatrix4

getMatrixViewProjection()

public FMatrix4 getMatrixViewProjection()

Matrix for view and projection transformation.

Returns: FMatrix4

getMatrixWorld()

public FMatrix4 getMatrixWorld()

Matrix for world transformation

Returns: FMatrix4

getMatrixWorldNormal()

public FMatrix4 getMatrixWorldNormal()

Matrix for converting normal from object to world space.

Returns: FMatrix4

getMatrixWorldViewProjection()

public FMatrix4 getMatrixWorldViewProjection()

Matrix for world view and projection transformation

Returns: FMatrix4

getShadowCaster()

public FVector3 getShadowCaster()

Position of shadow caster in world coordinate system

Returns: FVector3

getShadowmap()

public ITextureUnit getShadowmap()

The depth texture used for shadow mapping

Returns: ITextureUnit

getViewportSize()

public FVector2 getViewportSize()

Size of viewport, measured in pixel

Returns: FVector2

getWorldAmbient()

public FVector3 getWorldAmbient()

Ambient color defined in viewport.

Returns: FVector3

getWorldTime()

public float getWorldTime()

Time in seconds

Returns: float

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCameraPosition(FVector3 value)

public void setCameraPosition(FVector3 value)

Camera’s position in world coordinate system

Parameters:

ParameterTypeDescription
valueFVector3New value

setDepthBias(float value)

public void setDepthBias(float value)

Depth bias for shadow mapping, default value is 0.001

Parameters:

ParameterTypeDescription
valuefloatNew value

setMatrixLightSpace(FMatrix4 value)

public void setMatrixLightSpace(FMatrix4 value)

Matrix for light space transformation

Parameters:

ParameterTypeDescription
valueFMatrix4New value

setMatrixProjection(FMatrix4 value)

public void setMatrixProjection(FMatrix4 value)

Matrix for projection transformation

Parameters:

ParameterTypeDescription
valueFMatrix4New value

setMatrixView(FMatrix4 value)

public void setMatrixView(FMatrix4 value)

Matrix for view transformation

Parameters:

ParameterTypeDescription
valueFMatrix4New value

setShadowCaster(FVector3 value)

public void setShadowCaster(FVector3 value)

Position of shadow caster in world coordinate system

Parameters:

ParameterTypeDescription
valueFVector3New value

setShadowmap(ITextureUnit value)

public void setShadowmap(ITextureUnit value)

The depth texture used for shadow mapping

Parameters:

ParameterTypeDescription
valueITextureUnitNew value

setViewportSize(FVector2 value)

public void setViewportSize(FVector2 value)

Size of viewport, measured in pixel

Parameters:

ParameterTypeDescription
valueFVector2New value

setWorldAmbient(FVector3 value)

public void setWorldAmbient(FVector3 value)

Ambient color defined in viewport.

Parameters:

ParameterTypeDescription
valueFVector3New value

setWorldTime(float value)

public void setWorldTime(float value)

Time in seconds

Parameters:

ParameterTypeDescription
valuefloatNew value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int