set Default Animator Options
fun setDefaultAnimatorOptions(type: CameraAnimatorType, block: ValueAnimator.() -> Unit)
Content copied to clipboard
Set default global options for given animator type. All newly created animators will have those options applied.
Parameters
type
Type of default animator
block
Block to apply any ValueAnimator parameters
Set default global options for all animator types All newly created animators will have those options applied.
Parameters
block
Block to apply any ValueAnimator parameters