private double horizontalInitialize() { return JCameraRotationCoefficientsType.super.horizontal(); }
private double verticalInitialize() { return JCameraRotationCoefficientsType.super.vertical(); }
/** * Fill this modifiable instance with attribute values from the provided {@link JCameraRotationCoefficientsType} instance. * Regular attribute values will be overridden, i.e. replaced with ones of an instance. * Any of the instance's absent optional values will not be copied (will not override current values). * @param instance The instance from which to copy values * @return {@code this} for use in a chained invocation */ public JCameraRotationCoefficientsMutable from(JCameraRotationCoefficientsType instance) { Objects.requireNonNull(instance, "instance"); setHorizontal(instance.horizontal()); setVertical(instance.vertical()); return this; }
/** * Fill a builder with attribute values from the provided {@code JCameraRotationCoefficientsType} instance. * Regular attribute values will be replaced with those from the given instance. * Absent optional values will not replace present values. * @param instance The instance from which to copy values * @return {@code this} builder for use in a chained invocation */ public final Builder from(JCameraRotationCoefficientsType instance) { Objects.requireNonNull(instance, "instance"); setHorizontal(instance.horizontal()); setVertical(instance.vertical()); return this; }
/** * @return The horizontal coefficient */ @Override public final double horizontal() { return horizontalIsSet() ? horizontal : JCameraRotationCoefficientsType.super.horizontal(); }
/** * @return The vertical coefficient */ @Override public final double vertical() { return verticalIsSet() ? vertical : JCameraRotationCoefficientsType.super.vertical(); }