public Material(PhysX.Physics physics, float staticFriction, float dynamicFriction, float restitution, float density, OpenMetaverse.Material presetNumber) : this(physics, staticFriction, dynamicFriction, restitution, density, GRAVITY_MULTIPLIER_DEFAULT) { MaterialPreset = (int)presetNumber; }
public override IMaterial FindMaterialImpl(OpenMetaverse.Material materialEnum) { return(Material.FindImpl(materialEnum)); }
internal static IMaterial FindImpl(OpenMetaverse.Material materialEnum) { return(MaterialsByOMVEnum[OpenSim.Framework.Util.Clamp <int>((int)materialEnum, 0, MaterialsByOMVEnum.Length - 1)]); }