public void set (ScaledNumericValue value) { super.set(value); this.highMin = value.highMin; this.highMax = value.highMax; if (scaling.length != value.scaling.length) scaling = Arrays.copyOf(value.scaling, value.scaling.length); else System.arraycopy(value.scaling, 0, scaling, 0, scaling.length); if (timeline.length != value.timeline.length) timeline = Arrays.copyOf(value.timeline, value.timeline.length); else System.arraycopy(value.timeline, 0, timeline, 0, timeline.length); this.relative = value.relative; }
public void set (ScaledNumericValue value) { super.set(value); this.highMin = value.highMin; this.highMax = value.highMax; if (scaling.length != value.scaling.length) scaling = Arrays.copyOf(value.scaling, value.scaling.length); else System.arraycopy(value.scaling, 0, scaling, 0, scaling.length); if (timeline.length != value.timeline.length) timeline = Arrays.copyOf(value.timeline, value.timeline.length); else System.arraycopy(value.timeline, 0, timeline, 0, timeline.length); this.relative = value.relative; }
public void set (ScaledNumericValue value) { super.set(value); this.highMin = value.highMin; this.highMax = value.highMax; if (scaling.length != value.scaling.length) scaling = Arrays.copyOf(value.scaling, value.scaling.length); else System.arraycopy(value.scaling, 0, scaling, 0, scaling.length); if (timeline.length != value.timeline.length) timeline = Arrays.copyOf(value.timeline, value.timeline.length); else System.arraycopy(value.timeline, 0, timeline, 0, timeline.length); this.relative = value.relative; }
/** Sets all vertical size-related ranged values to match those of the template emitter. */ public void matchYSize (ParticleEmitter template) { RangedNumericValue[] values = getYSizeValues(); RangedNumericValue[] templateValues = template.getYSizeValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
public void set (RangedNumericValue value) { if (value instanceof ScaledNumericValue) set((ScaledNumericValue)value); else super.set(value); }
/** Sets all motion-related ranged values to match those of the template emitter. */ public void matchMotion (ParticleEmitter template) { RangedNumericValue[] values = getMotionValues(); RangedNumericValue[] templateValues = template.getMotionValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
/** Sets all horizontal size-related ranged values to match those of the template emitter. */ public void matchXSize (ParticleEmitter template) { RangedNumericValue[] values = getXSizeValues(); RangedNumericValue[] templateValues = template.getXSizeValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
public void set (RangedNumericValue value) { if (value instanceof ScaledNumericValue) set((ScaledNumericValue)value); else super.set(value); }
/** Sets all motion-related ranged values to match those of the template emitter. */ public void matchMotion (ParticleEmitter template) { RangedNumericValue[] values = getMotionValues(); RangedNumericValue[] templateValues = template.getMotionValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
/** Sets all vertical size-related ranged values to match those of the template emitter. */ public void matchYSize (ParticleEmitter template) { RangedNumericValue[] values = getYSizeValues(); RangedNumericValue[] templateValues = template.getYSizeValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
/** Sets all vertical size-related ranged values to match those of the template emitter. */ public void matchYSize (ParticleEmitter template) { RangedNumericValue[] values = getYSizeValues(); RangedNumericValue[] templateValues = template.getYSizeValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
/** Sets all horizontal size-related ranged values to match those of the template emitter. */ public void matchXSize (ParticleEmitter template) { RangedNumericValue[] values = getXSizeValues(); RangedNumericValue[] templateValues = template.getXSizeValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
public void set (RangedNumericValue value) { if (value instanceof ScaledNumericValue) set((ScaledNumericValue)value); else super.set(value); }
/** Sets all motion-related ranged values to match those of the template emitter. */ public void matchMotion (ParticleEmitter template) { RangedNumericValue[] values = getMotionValues(); RangedNumericValue[] templateValues = template.getMotionValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }
/** Sets all horizontal size-related ranged values to match those of the template emitter. */ public void matchXSize (ParticleEmitter template) { RangedNumericValue[] values = getXSizeValues(); RangedNumericValue[] templateValues = template.getXSizeValues(); for (int i = 0; i < values.length; i++) { values[i].set(templateValues[i]); } }