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)


Contributors to this page: Bekas .
Page last modified on Wednesday 18 of October, 2006 12:03:21 GMT by Bekas.


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.