C# Class OpenSim.Region.OptionalModules.ContentManagement.MetaEntity

Show file Open project: N3X15/VoxelSim

Protected Properties

Property Type Description
m_Entity OpenSim.Region.Framework.Scenes.SceneObjectGroup
m_metaLocalid uint

Public Methods

Method Description
Hide ( IClientAPI client ) : void

Hides the metaentity from a single client.

HideFromAll ( ) : void

Sends a kill object message to all clients, effectively "hiding" the metaentity even though it's still on the server.

MetaEntity ( ) : System
MetaEntity ( SceneObjectGroup orig, bool physics ) : System

Makes a new meta entity by copying the given scene object group. The physics boolean is just a stub right now.

MetaEntity ( string objectXML, Scene scene, bool physics ) : System

Takes an XML description of a scene object group and converts it to a meta entity.

SendFullUpdate ( IClientAPI client ) : void
SendFullUpdate ( IClientAPI client, uint clientFlags ) : void
SendFullUpdateToAll ( ) : void
SetPartTransparency ( SceneObjectPart part, float transparencyAmount ) : void

Makes a single SceneObjectPart see through.

Protected Methods

Method Description
Initialize ( bool physics ) : void

Changes localids and uuids of m_Entity.

Method Details

Hide() public method

Hides the metaentity from a single client.
public Hide ( IClientAPI client ) : void
client IClientAPI
return void

HideFromAll() public method

Sends a kill object message to all clients, effectively "hiding" the metaentity even though it's still on the server.
public HideFromAll ( ) : void
return void

Initialize() protected method

Changes localids and uuids of m_Entity.
protected Initialize ( bool physics ) : void
physics bool
return void

MetaEntity() public method

public MetaEntity ( ) : System
return System

MetaEntity() public method

Makes a new meta entity by copying the given scene object group. The physics boolean is just a stub right now.
public MetaEntity ( SceneObjectGroup orig, bool physics ) : System
orig OpenSim.Region.Framework.Scenes.SceneObjectGroup
physics bool
return System

MetaEntity() public method

Takes an XML description of a scene object group and converts it to a meta entity.
public MetaEntity ( string objectXML, Scene scene, bool physics ) : System
objectXML string
scene OpenSim.Region.Framework.Scenes.Scene
physics bool
return System

SendFullUpdate() public method

public SendFullUpdate ( IClientAPI client ) : void
client IClientAPI
return void

SendFullUpdate() public method

public SendFullUpdate ( IClientAPI client, uint clientFlags ) : void
client IClientAPI
clientFlags uint
return void

SendFullUpdateToAll() public method

public SendFullUpdateToAll ( ) : void
return void

SetPartTransparency() public static method

Makes a single SceneObjectPart see through.
public static SetPartTransparency ( SceneObjectPart part, float transparencyAmount ) : void
part OpenSim.Region.Framework.Scenes.SceneObjectPart /// A /// The part to make see through ///
transparencyAmount float /// A /// The degree of transparency to imbue the part with, 0f being solid and .95f being invisible. ///
return void

Property Details

m_Entity protected property

protected SceneObjectGroup,OpenSim.Region.Framework.Scenes m_Entity
return OpenSim.Region.Framework.Scenes.SceneObjectGroup

m_metaLocalid protected property

protected uint m_metaLocalid
return uint