Skip to content

Migrate to XML3D 5.0

Christian edited this page Apr 8, 2015 · 30 revisions

The 5.0 release of XML3D is not backwards compatible to 4.x. Here is a list of changes you have to apply to your scene to migrate to version 5.0:

  • Change all previously camel-cased attribute names to lowercase:
    • activeview, fieldofview, wraps, wrapt, wrapu, filtermin, filtermax, filtermip, scaleorientation
    • Note: You can still use getAttribute and setAttribute with camel-cased names (eg. setAttribute("fieldOfView", 0.5) ). These will automatically be lowercased in XML3D 5.0
    • Note: Element properties (eg. viewElement.fieldOfView) are still camel-cased.
Clone this wiki locally