Skip to content

AConfiguredModel

class AConfiguredModel @JvmOverloads
 constructor(
    model: AModelFile, 
    rotationX: Int = 0, 
    rotationY: Int = 0, 
    uvLock: Boolean = false, 
    weight: Int = DEFAULT_WEIGHT
)

Constructors

AConfiguredModel

@JvmOverloads
constructor(
    model: AModelFile, 
    rotationX: Int = 0, 
    rotationY: Int = 0, 
    uvLock: Boolean = false, 
    weight: Int = DEFAULT_WEIGHT
)

Types

Builder

class Builder<T>

A builder for AConfiguredModels, which can contain a callback for processing the finished result. If no callback is available (e.g. in the case of AConfiguredModel.builder), some methods will not be available.

Companion

object Companion

Properties

model

rotationX

val rotationX: Int

rotationY

val rotationY: Int

uvLock

weight

val weight: Int

Functions

toJSON

fun toJSON(includeWeight: Boolean): JsonObject