示例#1
0
 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;
 }
示例#2
0
 public override IMaterial FindMaterialImpl(OpenMetaverse.Material materialEnum)
 {
     return(Material.FindImpl(materialEnum));
 }
示例#3
0
 internal static IMaterial FindImpl(OpenMetaverse.Material materialEnum)
 {
     return(MaterialsByOMVEnum[OpenSim.Framework.Util.Clamp <int>((int)materialEnum, 0, MaterialsByOMVEnum.Length - 1)]);
 }