Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.MultipleObjectUpdatePacket$AgentDataBlock


    EnumSet<UpdateType> type = UpdateType.get(UpdateType.Rotation.getIndex());

    if (!childOnly)
      type = UpdateType.get(UpdateType.getIndex(type) | UpdateType.Linked.getIndex());

    MultipleObjectUpdatePacket multiObjectUpdate = new MultipleObjectUpdatePacket();
    multiObjectUpdate.AgentData.AgentID = Client.self.getAgentID();
    multiObjectUpdate.AgentData.SessionID = Client.self.getSessionID();

    multiObjectUpdate.ObjectData = new MultipleObjectUpdatePacket.ObjectDataBlock[1];
View Full Code Here


  /// <param name="localID">The objects ID which is local to the simulator the object is in</param>
  /// <param name="data">The new rotation, size, or position of the target object</param>
  /// <param name="type">The flags from the <seealso cref="UpdateType"/> Enum</param>
  public void UpdateObject(Simulator simulator, long localID, Vector3 data, EnumSet<UpdateType> type)
  {
    MultipleObjectUpdatePacket multiObjectUpdate = new MultipleObjectUpdatePacket();
    multiObjectUpdate.AgentData.AgentID = Client.self.getAgentID();
    multiObjectUpdate.AgentData.SessionID = Client.self.getSessionID();

    multiObjectUpdate.ObjectData = new MultipleObjectUpdatePacket.ObjectDataBlock[1];
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.MultipleObjectUpdatePacket$AgentDataBlock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.