예제 #1
0
        /// <summary>Initializes the struct with default values.</summary>
        public static LimitLinearRange Default()
        {
            LimitLinearRange value = new LimitLinearRange();

            value.lower       = 0f;
            value.upper       = 0f;
            value.contactDist = -1f;
            value.restitution = 0f;
            value.spring      = Spring.Default();

            return(value);
        }
예제 #2
0
 private static extern void Internal_setLimit(IntPtr thisPtr, ref LimitLinearRange limit);
예제 #3
0
 private static extern void Internal_getLimit(IntPtr thisPtr, out LimitLinearRange __output);