de.mirell.m3d
interface IPositionable
de.mirell.m3d.ITranslateable
|
+--de.mirell.m3d.IPositionable
All Known Implementing Classes: C3DObject, CCamera, CLight, CVertexinterface IPositionable extends ITranslateable
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) );
- IPositionable.as, Last Modified: 20.08.2004 22:48:48