public void ApplyDescription(ref TypeBatch batch, int bundleIndex, int innerIndex) { ConstraintChecker.AssertUnitLength(LocalAxisA, nameof(AngularAxisMotor), nameof(LocalAxisA)); ConstraintChecker.AssertValid(Settings, nameof(AngularAxisMotor)); Debug.Assert(ConstraintTypeId == batch.TypeId, "The type batch passed to the description must match the description's expected type."); ref var target = ref GetOffsetInstance(ref Buffer <AngularAxisMotorPrestepData> .Get(ref batch.PrestepData, bundleIndex), innerIndex);
public void ApplyDescription(ref TypeBatch batch, int bundleIndex, int innerIndex) { ConstraintChecker.AssertValid(ServoSettings, SpringSettings, nameof(BallSocketServo)); Debug.Assert(ConstraintTypeId == batch.TypeId, "The type batch passed to the description must match the description's expected type."); ref var target = ref GetOffsetInstance(ref Buffer <BallSocketServoPrestepData> .Get(ref batch.PrestepData, bundleIndex), innerIndex);