C# Class Universe.ScriptEngine.VirtualScript.MiniModule.SOPObject

Inheritance: System.MarshalByRefObject, IObject, IObjectPhysics, IObjectShape, IObjectSound
Datei anzeigen Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
AddAngularForce ( System.Vector3 force, bool pushforce ) : void
AddForce ( System.Vector3 force, bool pushforce ) : void
Dialog ( UUID avatar, string message, string buttons, int chat_channel ) : void
Play ( UUID asset, double volume ) : void
SOPObject ( IScene rootScene, uint localID, ISecurityCredential credential ) : System
Say ( string msg ) : void
Say ( string msg, int channel ) : void

Private Methods

Method Description
CanEdit ( ) : bool
EventManager_OnObjectGrab ( ISceneChildEntity part, ISceneChildEntity child, System.Vector3 offsetPos, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs ) : void
GetSOP ( ) : ISceneChildEntity

This needs to run very, very quickly. It is utilized in nearly every property and method.

SOPObject ( IScene rootScene, uint localID ) : System
SetPrimitiveSculpted ( UUID map, byte type ) : void
getNumberOfSides ( ISceneChildEntity part ) : int
getScriptPrimType ( PrimitiveBaseShape primShape ) : int
hasCutHollowDimpleProfileCut ( int primType, PrimitiveBaseShape shape, bool &hasCut, bool &hasHollow, bool &hasDimple, bool &hasProfileCut ) : void

Method Details

AddAngularForce() public method

public AddAngularForce ( System.Vector3 force, bool pushforce ) : void
force System.Vector3
pushforce bool
return void

AddForce() public method

public AddForce ( System.Vector3 force, bool pushforce ) : void
force System.Vector3
pushforce bool
return void

Dialog() public method

public Dialog ( UUID avatar, string message, string buttons, int chat_channel ) : void
avatar UUID
message string
buttons string
chat_channel int
return void

Play() public method

public Play ( UUID asset, double volume ) : void
asset UUID
volume double
return void

SOPObject() public method

public SOPObject ( IScene rootScene, uint localID, ISecurityCredential credential ) : System
rootScene IScene
localID uint
credential ISecurityCredential
return System

Say() public method

public Say ( string msg ) : void
msg string
return void

Say() public method

public Say ( string msg, int channel ) : void
msg string
channel int
return void