Class Layer
java.lang.Object
dev.kosmx.playerAnim.core.data.opennbs.format.Layer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Layer.NoteaddNote(int tick) intfindAtTick(int tick) search the position of the last keyframe INTERNALbooleangetLock()getNotesFrom(int toTick) getNotesFrom(int fromTick, int toTick) voidsetLock(boolean newValue)
-
Field Details
-
name
The name of the layer. -
lock
public byte lockWhether or not this layer has been marked as locked. 1 = locked. -
volume
public byte volumeThe volume of the layer (percentage). Ranges from 0-100. -
stereo
public byte stereoHow much this layer is panned to the left/right. 0 is 2 blocks right, 100 is center, 200 is 2 blocks left. -
notes
-
-
Constructor Details
-
Layer
public Layer()
-
-
Method Details
-
getLock
public boolean getLock() -
setLock
public void setLock(boolean newValue) -
findAtTick
public int findAtTick(int tick) search the position of the last keyframe INTERNAL- Parameters:
tick- when- Returns:
- pos in the array
-
addNote
-
getNotesFrom
-
getNotesFrom
-