Animancer v6.0 is currently available for testing.

AnimatedBool Class

Summary

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

Syntax

public sealed class AnimatedBool : AnimatedProperty<AnimatedBool.Job, bool>, IDisposable

Examples

Example: Animation Jobs

Constructors

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