Animancer v6.0 is currently available for testing.

AnimatedInt Class

Summary

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

Syntax

public sealed class AnimatedInt : AnimatedProperty<AnimatedInt.Job, int>, IDisposable

Examples

Example: Animation Jobs

Constructors

Name Summary
AnimatedInt(IAnimancerComponent, int, NativeArrayOptions) Allocates room for a specified number of properties to be filled by InitialiseProperty(int, Transform, Type, string).
AnimatedInt(IAnimancerComponent, string) Initialises a single property.
AnimatedInt(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 int(AnimatedProperty<AnimatedInt.Job, int>) int
Inherited from AnimatedProperty<AnimatedInt.Job, int>