pivot attribute

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

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

Description

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.

Related


In this topic