OpenMetaverse Protocol Library Developers API Documentation
SetFlags Method (simulator, localID, physical, temporary, phantom, castsShadow, physicsType, density, friction, restitution, gravityMultiplier)
NamespacesOpenMetaverseObjectManagerSetFlags(Simulator, UInt32, Boolean, Boolean, Boolean, Boolean, PhysicsShapeType, Single, Single, Single, Single)
Update the properties of an object
Declaration Syntax
C#
public
void
SetFlags(

Simulator
simulator,

uint
localID,

bool
physical,

bool
temporary,

bool
phantom,

bool
castsShadow,

PhysicsShapeType

physicsType,

float
density,

float
friction,

float
restitution,

float
gravityMultiplier
)
Parameters
simulator ( Simulator)
The Simulatorthe object is located
localID ( UInt32)
The Local ID of the object
physical ( Boolean)
true to turn the objects physical property on
temporary ( Boolean)
true to turn the objects temporary property on
phantom ( Boolean)
true to turn the objects phantom property on
castsShadow ( Boolean)
true to turn the objects cast shadows property on
physicsType ( PhysicsShapeType)
Type of the represetnation prim will have in the physics engine
density ( Single)
Density - normal value 1000
friction ( Single)
Friction - normal value 0.6
restitution ( Single)
Restitution - standard value 0.5
gravityMultiplier ( Single)
Gravity multiplier - standar value 1.0

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)