C# Class Universe.Physics.BulletSPlugin.BSLinkset

Show file Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property Type Description
m_children BSLinkInfo>.Dictionary
m_linksetActivityLock object

Public Methods

Method Description
AddMeToLinkset ( BSPrimLinkable child ) : BSLinkset
AddToPhysicalCollisionFlags ( CollisionFlags collFlags ) : void
ComputeAndSetLocalInertia ( OpenMetaverse inertiaFactor, float linksetMass ) : void
Extension ( string pFunct ) : object
Factory ( BSScene physScene, BSPrimLinkable parent ) : BSLinkset
ForEachLinkInfo ( ForEachLinkInfoAction action ) : bool
ForEachMember ( ForEachMemberAction action ) : bool
HandleCollide ( uint collidingWith, BSPhysObject collidee, OpenMetaverse contactPoint, OpenMetaverse contactNormal, float pentrationDepth ) : bool
HasChild ( BSPrimLinkable child ) : bool
IsRoot ( BSPrimLinkable requestor ) : bool
MakeDynamic ( BSPrimLinkable child ) : bool
MakeStatic ( BSPrimLinkable child ) : bool
PreferredPhysicalShape ( BSPrimLinkable requestor ) : BSPhysicsShapeType
Refresh ( BSPrimLinkable requestor ) : void
RemoveBodyDependencies ( BSPrimLinkable child ) : bool
RemoveFromPhysicalCollisionFlags ( CollisionFlags collFlags ) : void
RemoveMeFromLinkset ( BSPrimLinkable child, bool inTaintTime ) : BSLinkset
SetPhysicalCollisionFlags ( CollisionFlags collFlags ) : void
SetPhysicalFriction ( float friction ) : void
SetPhysicalGravity ( OpenMetaverse gravity ) : void
SetPhysicalRestitution ( float restitution ) : void
UpdateProperties ( UpdatedProperties whichUpdated, BSPrimLinkable physObject ) : void

Protected Methods

Method Description
AddChildToLinkset ( BSPrimLinkable child ) : void
BSLinkset ( BSScene scene, BSPrimLinkable parent ) : System
ComputeLinksetCenterOfMass ( ) : OpenMetaverse.Vector3
ComputeLinksetGeometricCenter ( ) : OpenMetaverse.Vector3
ComputeLinksetMass ( ) : float
DetailLog ( string msg ) : void
RemoveChildFromLinkset ( BSPrimLinkable child, bool inTaintTime ) : void
ScheduleRebuild ( BSPrimLinkable requestor ) : void

Method Details

AddChildToLinkset() protected abstract method

protected abstract AddChildToLinkset ( BSPrimLinkable child ) : void
child BSPrimLinkable
return void

AddMeToLinkset() public method

public AddMeToLinkset ( BSPrimLinkable child ) : BSLinkset
child BSPrimLinkable
return BSLinkset

AddToPhysicalCollisionFlags() public method

public AddToPhysicalCollisionFlags ( CollisionFlags collFlags ) : void
collFlags CollisionFlags
return void

BSLinkset() protected method

protected BSLinkset ( BSScene scene, BSPrimLinkable parent ) : System
scene BSScene
parent BSPrimLinkable
return System

ComputeAndSetLocalInertia() public method

public ComputeAndSetLocalInertia ( OpenMetaverse inertiaFactor, float linksetMass ) : void
inertiaFactor OpenMetaverse
linksetMass float
return void

ComputeLinksetCenterOfMass() protected method

protected ComputeLinksetCenterOfMass ( ) : OpenMetaverse.Vector3
return OpenMetaverse.Vector3

ComputeLinksetGeometricCenter() protected method

protected ComputeLinksetGeometricCenter ( ) : OpenMetaverse.Vector3
return OpenMetaverse.Vector3

ComputeLinksetMass() protected method

protected ComputeLinksetMass ( ) : float
return float

DetailLog() protected method

protected DetailLog ( string msg ) : void
msg string
return void

Extension() public method

public Extension ( string pFunct ) : object
pFunct string
return object

Factory() public static method

public static Factory ( BSScene physScene, BSPrimLinkable parent ) : BSLinkset
physScene BSScene
parent BSPrimLinkable
return BSLinkset

ForEachLinkInfo() public method

public ForEachLinkInfo ( ForEachLinkInfoAction action ) : bool
action ForEachLinkInfoAction
return bool

ForEachMember() public method

public ForEachMember ( ForEachMemberAction action ) : bool
action ForEachMemberAction
return bool

HandleCollide() public method

public HandleCollide ( uint collidingWith, BSPhysObject collidee, OpenMetaverse contactPoint, OpenMetaverse contactNormal, float pentrationDepth ) : bool
collidingWith uint
collidee BSPhysObject
contactPoint OpenMetaverse
contactNormal OpenMetaverse
pentrationDepth float
return bool

HasChild() public method

public HasChild ( BSPrimLinkable child ) : bool
child BSPrimLinkable
return bool

IsRoot() public method

public IsRoot ( BSPrimLinkable requestor ) : bool
requestor BSPrimLinkable
return bool

MakeDynamic() public abstract method

public abstract MakeDynamic ( BSPrimLinkable child ) : bool
child BSPrimLinkable
return bool

MakeStatic() public abstract method

public abstract MakeStatic ( BSPrimLinkable child ) : bool
child BSPrimLinkable
return bool

PreferredPhysicalShape() public method

public PreferredPhysicalShape ( BSPrimLinkable requestor ) : BSPhysicsShapeType
requestor BSPrimLinkable
return BSPhysicsShapeType

Refresh() public method

public Refresh ( BSPrimLinkable requestor ) : void
requestor BSPrimLinkable
return void

RemoveBodyDependencies() public abstract method

public abstract RemoveBodyDependencies ( BSPrimLinkable child ) : bool
child BSPrimLinkable
return bool

RemoveChildFromLinkset() protected abstract method

protected abstract RemoveChildFromLinkset ( BSPrimLinkable child, bool inTaintTime ) : void
child BSPrimLinkable
inTaintTime bool
return void

RemoveFromPhysicalCollisionFlags() public method

public RemoveFromPhysicalCollisionFlags ( CollisionFlags collFlags ) : void
collFlags CollisionFlags
return void

RemoveMeFromLinkset() public method

public RemoveMeFromLinkset ( BSPrimLinkable child, bool inTaintTime ) : BSLinkset
child BSPrimLinkable
inTaintTime bool
return BSLinkset

ScheduleRebuild() protected abstract method

protected abstract ScheduleRebuild ( BSPrimLinkable requestor ) : void
requestor BSPrimLinkable
return void

SetPhysicalCollisionFlags() public method

public SetPhysicalCollisionFlags ( CollisionFlags collFlags ) : void
collFlags CollisionFlags
return void

SetPhysicalFriction() public method

public SetPhysicalFriction ( float friction ) : void
friction float
return void

SetPhysicalGravity() public method

public SetPhysicalGravity ( OpenMetaverse gravity ) : void
gravity OpenMetaverse
return void

SetPhysicalRestitution() public method

public SetPhysicalRestitution ( float restitution ) : void
restitution float
return void

UpdateProperties() public abstract method

public abstract UpdateProperties ( UpdatedProperties whichUpdated, BSPrimLinkable physObject ) : void
whichUpdated UpdatedProperties
physObject BSPrimLinkable
return void

Property Details

m_children protected property

protected Dictionary m_children
return BSLinkInfo>.Dictionary

m_linksetActivityLock protected property

protected object m_linksetActivityLock
return object