Skip to main content

Why are some getter and setter methods no properties (e.g. Camera.LookAt, Entity.MaterialName)? — Gamok 08:57, 16 October 2006 (CDT)

Ogre methods that get transformed to properties are:

  • get/setXXXX methods
  • getXXXX methods
  • bool isXXXX methods




Camera::lookAt is definately a method, not a property.

Entity::setMaterialName is not a property because there's not a Entity::getMaterialName method and I chose not to create write-only properties. --Bekas 07:03, 18 October 2006 (CDT)