Exemplo n.º 1
0
 /**
  * Writes a value for the <code>orientation</code> property as a <code>unitQuaternion</code>
  * value. The <code>orientation</code> property specifies the orientation of the object in the
  * world. The orientation has no direct visual representation, but it is used to orient models,
  * cones, and pyramids attached to the object.
  *
  * @param dates The dates at which the rotation is specified.
  * @param values The values corresponding to each date.
  */
 public final void writeOrientationProperty(List<JulianDate> dates, List<UnitQuaternion> values) {
   {
     cesiumlanguagewriter.OrientationCesiumWriter writer = openOrientationProperty();
     try {
       writer.writeUnitQuaternion(dates, values);
     } finally {
       DisposeHelper.dispose(writer);
     }
   }
 }
Exemplo n.º 2
0
 /**
  * Writes a value for the <code>orientation</code> property as a <code>unitQuaternion</code>
  * value. The <code>orientation</code> property specifies the orientation of the object in the
  * world. The orientation has no direct visual representation, but it is used to orient models,
  * cones, and pyramids attached to the object.
  *
  * @param value The value.
  */
 public final void writeOrientationProperty(UnitQuaternion value) {
   {
     cesiumlanguagewriter.OrientationCesiumWriter writer = openOrientationProperty();
     try {
       writer.writeUnitQuaternion(value);
     } finally {
       DisposeHelper.dispose(writer);
     }
   }
 }