TransformSystems

public class TransformSystems

Class TransformSystems. Provides transformsystems functionality for the Hytale server.

java.lang.Object > TransformSystems

Field Summary

visibleComponent

final EntityTrackerSystems.Visible visibleComponent

Field visibleComponent.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

headRotationComponent

final HeadRotation headRotationComponent

Field headRotationComponent.

sentTransform

final ModelTransform sentTransform

Field sentTransform.

position

final Vector3d position

Field position.

headRotation

final Vector3f headRotation

Field headRotation.

bodyRotation

final Vector3f bodyRotation

Field bodyRotation.

sentPosition

final Position sentPosition

Field sentPosition.

sentLookOrientation

final Direction sentLookOrientation

Field sentLookOrientation.

sentBodyOrientation

final Direction sentBodyOrientation

Field sentBodyOrientation.

update

final ComponentUpdate update

Field update.

Method Detail

EntityTrackerUpdate

public public EntityTrackerUpdate ()

Method EntityTrackerUpdate.

getGroup

public SystemGroup getGroup ()

Method getGroup.

getQuery

public Query getQuery ()

Method getQuery.

isParallel

public boolean isParallel (final int archetypeChunkSize, final int taskCount)

Method isParallel.

Parameters:
final int archetypeChunkSize
final int taskCount

tick

public void tick (final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method tick.

Parameters:
final float dt
final int index
@Nonnull final ArchetypeChunk archetypeChunk
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

if

public else if (!visibleComponent.newlyVisibleTo.isEmpty()

Method if.

Parameters:
!visibleComponent.newlyVisibleTo.isEmpty( !visibleComponent.newlyVisibleTo.isEmpty(

queueUpdatesFor

static void queueUpdatesFor (@Nonnull final Ref ref, @Nonnull final ModelTransform sentTransform, @Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo, final boolean newlyVisible)

Method queueUpdatesFor.

Parameters:
@Nonnull final Ref ref
@Nonnull final ModelTransform sentTransform
@Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo
final boolean newlyVisible

OnRemove

public public OnRemove ()

Method OnRemove.

onEntityAdd

public void onEntityAdd (@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)

Method onEntityAdd.

Parameters:
@Nonnull final Holder holder
@Nonnull final AddReason reason
@Nonnull final Store store

onEntityRemoved

public void onEntityRemoved (@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)

Method onEntityRemoved.

Parameters:
@Nonnull final Holder holder
@Nonnull final RemoveReason reason
@Nonnull final Store store