コード例 #1
0
 public override void ResetToDefault()
 {
     using (var native = new agxSDK.GeometryContactMergeSplitThresholds()) {
         MaxRelativeNormalSpeed  = Convert.ToSingle(native.getMaxRelativeNormalSpeed());
         MaxRelativeTangentSpeed = Convert.ToSingle(native.getMaxRelativeTangentSpeed());
         MaxRollingSpeed         = Convert.ToSingle(native.getMaxRollingSpeed());
         MaxImpactSpeed          = Convert.ToSingle(native.getMaxImpactSpeed());
         SplitOnLogicalImpact    = native.getSplitOnLogicalImpact();
     }
 }
コード例 #2
0
        protected override bool Initialize()
        {
            Native = new agxSDK.GeometryContactMergeSplitThresholds();

            return(base.Initialize());
        }
コード例 #3
0
        public override void Destroy()
        {
            Native = null;

            base.Destroy();
        }