Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

AssignPathAnimation

megamaz edited this page Mar 3, 2021 · 1 revision

This is the AssignPathAnimation class. It serves as a data container for AssignPathAnimation events.

Create Instance

The event does not have to exist inside the level.dat for an instance to be created.

import noodleExtensions as NE

NE.AssignPathAnimation(
    beat=10, # the beat at which the event happens
    track="ExampleTrack", # The track to animate
    duration=1, # how many beats the animation lasts
    # any data for animating will be put as [property]=[data]
    _position=[[0, 0, 0, 0]] # this animation does nothing.
)

Functions

Variables

fromDict

Creates a new AssignPathAnimation event from dict data.

classmethod fromdict

  • Parameters
    • data (dict)

event

The event in dict form

dict event

_time

The beat at which the event will happen

float _time

_track

The track that is being animated

str _track

_duration

The duration of the event

float _duration

_properties

The properties that are being animated

dict _properties

If it doesn't link, it's a WIP. If you want to read it anywyas, Check the pages above.

Objects

Events

Clone this wiki locally