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¶
- :
the type of the owning builder, which supplied the callback, and will be returned upon completion.
Functions¶
addModel¶
build¶
fun build(): Array<AConfiguredModel>
buildLast¶
fun buildLast(): AConfiguredModel
model¶
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>