common • net.kernelpanicsoft.archie.data.client.model • AConfiguredModel • Builder
Builder
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.
Multiple models can be configured at once through the use of .nextModel.
Parameters
Functions
addModel
build
fun build(): Array<AConfiguredModel>buildLast
fun buildLast(): AConfiguredModelmodel
fun model(block: AConfiguredModel.Builder<T>.() -> Unit): AConfiguredModel.Builder<T>modelFile
fun modelFile(model: AModelFile): AConfiguredModel.Builder<T>nextModel
fun nextModel(): AConfiguredModel.Builder<T>rotationX
fun rotationX(value: Int): AConfiguredModel.Builder<T>rotationY
fun rotationY(value: Int): AConfiguredModel.Builder<T>uvLock
fun uvLock(value: Boolean): AConfiguredModel.Builder<T>weight
fun weight(value: Int): AConfiguredModel.Builder<T>