public class ChangeModelPage extends InteractiveCustomUIPage
Class ChangeModelPage. Provides changemodelpage functionality for the Hytale server.
java.lang.Object > InteractiveCustomUIPage > ChangeModelPage
Field Summary
searchQuery
Field searchQuery.
models
Field models.
selectedModel
Field selectedModel.
modelPreview
Field modelPreview.
position
Field position.
rotation
Field rotation.
scale
Field scale.
commandBuilder
Field commandBuilder.
eventBuilder
Field eventBuilder.
type
Field type.
commandBuilder2
Field commandBuilder2.
model
Field model.
skinComponent
Field skinComponent.
playerSkinComponent
Field playerSkinComponent.
newModel
Field newModel.
roleTemplateNames
Field roleTemplateNames.
map
Field map.
fuzzyDistance
Field fuzzyDistance.
sorted
Field sorted.
obj
Field obj.
id
Field id.
selector
Field selector.
transformComponent
Field transformComponent.
headRotationComponent
Field headRotationComponent.
playerPosition
Field playerPosition.
headRotation
Field headRotation.
targetGround
Field targetGround.
relativePos
Field relativePos.
previewRotation
Field previewRotation.
holder
Field holder.
modelAsset
Field modelAsset.
Method Detail
build
void
build
(@Nonnull final Ref ref, @Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder, @Nonnull final Store store)
Method build.
- Parameters:
@Nonnull final Refref@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder@Nonnull final Storestore
EventData
new
EventData
()
Method EventData.
handleDataEvent
void
handleDataEvent
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final PageEventData data)
Method handleDataEvent.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final PageEventDatadata
ModelComponent
new
ModelComponent
(this.getModel(this.scale)
Method ModelComponent.
- Parameters:
this.getModel(this.scalethis.getModel(this.scale
buildModelList
void
buildModelList
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder)
Method buildModelList.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder
if
else
if
(this.selectedModel != null)
Method if.
- Parameters:
this.selectedModel !=null
selectModel
void
selectModel
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final String modelId, @Nonnull final UICommandBuilder commandBuilder)
Method selectModel.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final StringmodelId@Nonnull final UICommandBuildercommandBuilder
NetworkId
new
NetworkId
(store.getExternalData()
Method NetworkId.
- Parameters:
store.getExternalData(store.getExternalData(
TransformComponent
new
TransformComponent
(previewPosition, previewRotation)
Method TransformComponent.
- Parameters:
previewPositionpreviewPositionpreviewRotationpreviewRotation
HeadRotation
new
HeadRotation
(previewRotation)
Method HeadRotation.
- Parameters:
previewRotationpreviewRotation