de.mirell.m3d

interface IPositionable

de.mirell.m3d.ITranslateable | +--de.mirell.m3d.IPositionable
All Known Implementing Classes: C3DObject, CCamera, CLight, CVertex

interface IPositionable extends ITranslateable

    Method Summary

    public getPosition ( ): CCoordinate
    Retrieves the current center point of the object
    public setPosition ( Value: CCoordinate ): Void
    Sets the center point of the object
    Methods inherited from interface de.mirell.m3d.ITranslateable

    Method Documentation

    getPosition

    public function getPosition (
    ): CCoordinate
    Retrieves the current center point of the object
    • Returns:
      The center of the object

    setPosition

    public function setPosition (
    Value: CCoordinate): Void
    Sets the center point of the object
    • Parameters:
      Value
      The new center of the object
    • Example:
      // Set the object center position to 10,20,0.
      my3DObject.setPosition( new CCoordinate(10,20,0) );
      

    The documentation was generated from the following file:
    • IPositionable.as, Last Modified: 20.08.2004 22:48:48