OpenMetaverse.ObjectManager.SetFlags C# (CSharp) 메소드

SetFlags() 공개 메소드

Update the properties of an object
public SetFlags ( Simulator simulator, uint localID, bool physical, bool temporary, bool phantom, bool castsShadow ) : void
simulator Simulator The the object is located
localID uint The Local ID of the object
physical bool true to turn the objects physical property on
temporary bool true to turn the objects temporary property on
phantom bool true to turn the objects phantom property on
castsShadow bool true to turn the objects cast shadows property on
리턴 void
        public void SetFlags(Simulator simulator, uint localID, bool physical, bool temporary, bool phantom, bool castsShadow)
        {
            SetFlags(simulator, localID, physical, temporary, phantom, castsShadow, PhysicsShapeType.Prim, 1000f, 0.6f, 0.5f, 1f);
        }

Same methods

ObjectManager::SetFlags ( Simulator simulator, uint localID, bool physical, bool temporary, bool phantom, bool castsShadow, PhysicsShapeType physicsType, float density, float friction, float restitution, float gravityMultiplier ) : void