Module Mathutils :: Class Vector
[frames | no frames]

Class Vector


The Vector object

This object gives access to Vectors in Blender.
Method Summary
  negate()
Set all values to their negative.
  normalize()
Normalize the vector.
  resize2D()
Resize the vector to 2d.
  resize3D()
Resize the vector to 3d.
  resize4D()
Resize the vector to 4d.
  zero()
Set all values to zero.

Class Variable Summary
  length: The magnitude of the vector.
  w: The w value (if any).
  x: The x value.
  y: The y value.
  z: The z value (if any).

Method Details

negate()

Set all values to their negative.

normalize()

Normalize the vector.

resize2D()

Resize the vector to 2d.

resize3D()

Resize the vector to 3d.

resize4D()

Resize the vector to 4d.

zero()

Set all values to zero.

Class Variable Details

length

The magnitude of the vector.

w

The w value (if any).

x

The x value.

y

The y value.

z

The z value (if any).

Generated by Epydoc 2.0 on Wed May 12 22:11:03 2004 http://epydoc.sf.net