Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.ObjectAddPacket


  /// function will not set textures, light and flexible data, or other
  /// extended primitive properties</remarks>
  public void AddPrim(Simulator simulator, ConstructionData prim, UUID groupID, Vector3 position,
      Vector3 scale, Quaternion rotation, PrimFlags createFlags)
  {
    ObjectAddPacket packet = new ObjectAddPacket();

    packet.AgentData.AgentID = Client.self.getAgentID();
    packet.AgentData.SessionID = Client.self.getSessionID();
    packet.AgentData.GroupID = groupID;
View Full Code Here


  /// or UUID.Zero if no group is to be set</param>
  /// <param name="newTree">true to use the "new" Linden trees, false to use the old</param>
  public void AddTree(Simulator simulator, Vector3 scale, Quaternion rotation, Vector3 position,
      Tree treeType, UUID groupOwner, boolean newTree)
  {
    ObjectAddPacket add = new ObjectAddPacket();

    add.AgentData.AgentID = Client.self.getAgentID();
    add.AgentData.SessionID = Client.self.getSessionID();
    add.AgentData.GroupID = groupOwner;
    add.ObjectData.BypassRaycast = 1;
View Full Code Here

  /// <param name="groupOwner">The <seealso cref="UUID"/> of the group to set the tree to,
  /// or UUID.Zero if no group is to be set</param>
  public void AddGrass(Simulator simulator, Vector3 scale, Quaternion rotation, Vector3 position,
      Grass grassType, UUID groupOwner)
  {
    ObjectAddPacket add = new ObjectAddPacket();

    add.AgentData.AgentID = Client.self.getAgentID();
    add.AgentData.SessionID = Client.self.getSessionID();
    add.AgentData.GroupID = groupOwner;
    add.ObjectData.BypassRaycast = 1;
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.ObjectAddPacket

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.