Class SloodleLayoutEntry

Description

Stores data for a single entry in a layout profile.

Used with SloodleCourse

Located in /lib/layout_profile.php (line 20)


	
			
Variable Summary
 string $name
 string $position
 string $rotation
Method Summary
 void set_position_xyz (float $x, float $y, float $z)
 void set_rotation_xyz (float $x, float $y, float $z)
Variables
string $name = '' (line 29)

The name of the object this entry represents.

  • access: public
string $position = '<0.0,0.0,0.0>' (line 36)

The position of the object, as a 3d vector, in string format "<x,y,z>"

  • access: public
string $rotation = '<0.0,0.0,0.0>' (line 43)

The rotation of the object, as a 3d vector of Euler angles, in string format "<x,y,z>"

  • access: public
Methods
set_position_xyz (line 55)

Sets the position as separate X,Y,Z components

void set_position_xyz (float $x, float $y, float $z)
  • float $x: The X component to set
  • float $y: The Y component to set
  • float $z: The Z component to set
set_rotation_xyz (line 67)

Sets the rotation as separate X,Y,Z components

void set_rotation_xyz (float $x, float $y, float $z)
  • float $x: The X component to set
  • float $y: The Y component to set
  • float $z: The Z component to set

Documentation generated on Mon, 07 Jul 2008 12:32:35 +0100 by phpDocumentor 1.4.0