final case class CloneBatch(id: CloneId, depth: Depth, cloneData: Array[CloneBatchData], staticBatchKey: Option[BindingKey]) extends DependentNode[CloneBatch]

Represents many clones of the same clone blank, differentiated only by their transform data.

trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any

Type members

Inherited types

type Out = T
Inherited from:

Value members

Concrete methods

def addClone(x: Int, y: Int): CloneBatch
def addClone(x: Int, y: Int, rotation: Radians): CloneBatch
def addClones(additionalClones: Array[CloneBatchData]): CloneBatch
def addClones(x: Int, y: Int, rotation: Radians, scaleX: Double, scaleY: Double): CloneBatch
def withCloneId(newCloneId: CloneId): CloneBatch
def withDepth(newDepth: Depth): CloneBatch

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
def productIterator: Iterator[Any]
Inherited from:

Concrete fields

val eventHandlerEnabled: Boolean
lazy val flip: Flip
lazy val position: Point
lazy val ref: Point
lazy val rotation: Radians
lazy val scale: Vector2