pivot shape attribute


  • float pivot.p{x|y|z}
  • float pivot.o{x|y|z}


The pivot attribute describes the shape's coordinate system and is defined by a position vector p (origin) and an orientation vector o (axis). The orientation vector is encoded as an ordered rotation in degrees around the x, y and z axis. Both vectors are in object coordinates, relative to the initialShape.origin.

Like the CityEngine's world coordinate system, the pivot describes a right-hand coordinate system.


In this topic
  1. Syntax
  2. Description
  3. Related