Animancer v6.0 is currently available for testing.

AnimatedFloat Class

Summary

[Pro-Only] A wrapper which allows access to the value of float properties that are controlled by animations.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
  • IDisposable
Base Types
graph BT Type-->Base0["AnimatedProperty<AnimatedFloat.Job, float>"] Base0-->Base1["AnimancerJob<AnimatedFloat.Job>"] Base1-->Base2["Object"] Type-.->Interface0["IDisposable"] Type["AnimatedFloat"] class Type type-node

Syntax

public sealed class AnimatedFloat : AnimatedProperty<AnimatedFloat.Job, float>, IDisposable

Examples

Example: Animation Jobs

Constructors

Name Summary
AnimatedFloat(IAnimancerComponent, int, NativeArrayOptions) Allocates room for a specified number of properties to be filled by InitialiseProperty(int, Transform, Type, string).
AnimatedFloat(IAnimancerComponent, string) Initialises a single property.
AnimatedFloat(IAnimancerComponent, string[]) Initialises a group of properties.

Methods

Name Value Summary
CreateJob() void
Creates and assigns the AnimancerJob._Job.

Operators

Name Value Summary
implicit operator float(AnimatedProperty<AnimatedFloat.Job, float>) float
Inherited from AnimatedProperty<AnimatedFloat.Job, float>