Method | Description | |
---|---|---|
ResolutionRelativeRenderLayer ( string fullName ) : System | ||
ResolutionRelativeRenderLayer ( string fullName, GlobalLayerScaleType layerScaleType, UniformLayerScaleType uniformScaleType ) : System |
Method | Description | |
---|---|---|
GetRenderableHandler ( ) : RenderableHandler |
Get the RenderAction. The Layer RenderAction determines how it prepares and calls each RenderableObject's Render method it encounters. For RenderLayer, the render action returned depends on the LayerScaleType.
|
|
PostRender ( ) : void |
Called after everything is rendered (also after RenderLayerTarget is called).
|
|
PreRender ( ) : void | ||
ProcessDynamicallyScaledRenderable ( |
Process a RenderableObject when the GlobalLayerScaleType is set to Dynamic.
|
|
RecalculateTargetTransform ( ) : void |
Recalculate the TargetToScreenTransform matrix (required when resolution changes).
|
|
RenderLayerTarget ( ) : void |
Render this layer's target. This is called immediately after all the Renderables have been rendered, and immediately before PostRender.
|
protected GetRenderableHandler ( ) : RenderableHandler | ||
return | RenderableHandler |
protected ProcessDynamicallyScaledRenderable ( |
||
obj | ||
isBaseRes | bool | |
crntRes | Resolution | |
resScale | Vector2 | |
return | void |
protected RecalculateTargetTransform ( ) : void | ||
return | void |
public ResolutionRelativeRenderLayer ( string fullName ) : System | ||
fullName | string | |
return | System |
public ResolutionRelativeRenderLayer ( string fullName, GlobalLayerScaleType layerScaleType, UniformLayerScaleType uniformScaleType ) : System | ||
fullName | string | |
layerScaleType | GlobalLayerScaleType | |
uniformScaleType | UniformLayerScaleType | |
return | System |