Class CompositeTransformation
Defines a composite render pass data transformation provider which composes multiple transformations at the same time.
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class CompositeTransformation implements IRenderPassDataTransformation
Constructors
CompositeTransformation(IRenderPassDataTransformation[] transformations)
Creates a new instance of CompositeTransformation instance.
Declaration
public CompositeTransformation(IRenderPassDataTransformation[] transformations)
Parameters
Type | Name | Description |
---|---|---|
IRenderPassDataTransformation[] | transformations | The array of transformation to be used. |
Methods
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
Type | Name | Description |
---|---|---|
IServiceContainer | services |
detach()
Declaration
public void detach()
isAttached()
Declaration
public boolean isAttached()
Returns
Type | Description |
---|---|
boolean |
onAnimationEnd()
Notifies the end of the associated animation.
Declaration
public void onAnimationEnd()
onAnimationStart(float initialValue)
Notifies the start of the associated animation.
Declaration
public void onAnimationStart(float initialValue)
Parameters
Type | Name | Description |
---|---|---|
float | initialValue |
onRenderPassDataChanged()
Called after success update of the current render pass data.
Declaration
public void onRenderPassDataChanged()
setCurrentProgress(float currentProgress)
Set's current value, according to which, associated render pass data will be transformed.
Note: This is used for animations purposes.
Declaration
public void setCurrentProgress(float currentProgress)
Parameters
Type | Name | Description |
---|---|---|
float | currentProgress |
transform()
Performs transformation of the associated render pass data. This called during render pass if this transformations is attached to associated IRenderableSeries.
Declaration
public void transform()