CloneTiles

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

Represents many clones of the same cloneblank, differentiated by their transform data and which part of the texture it is cropped on.

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

Value members

Concrete methods

def addClone(x: Int, y: Int, cropX: Int, cropY: Int, cropWidth: Int, cropHeight: Int): CloneTiles
def addClone(x: Int, y: Int, rotation: Radians, cropX: Int, cropY: Int, cropWidth: Int, cropHeight: Int): CloneTiles
def addClones(additionalClones: Array[CloneTileData]): CloneTiles
def addClones(x: Int, y: Int, rotation: Radians, scaleX: Double, scaleY: Double, cropX: Int, cropY: Int, cropWidth: Int, cropHeight: Int): CloneTiles
def withCloneId(newCloneId: CloneId): CloneTiles
def withDepth(newDepth: Depth): CloneTiles

Inherited methods

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

Concrete fields

lazy
val flip: Flip
lazy
lazy
val ref: Point
lazy
lazy