_geo :: GeoInfo :: Class GeoInfo
[hide private]
[frames] | no frames]

Class GeoInfo

object --+
         |
        GeoInfo

A 3D object consisting of vertices and primitives built out of them.

Instance Methods [hide private]
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
AttribContext
attribContext(self, name, group, type)
Gets an attribute context for the named attribute of this object.
list of (x,y,z) tuples
normals(self)
Gets the list of vertex normals for this object.
PointList
points(self)
Gets the point list for this object.
list of point index lists
primitives(self)
Gets the list of primitives which make up this object.
4x4 tuple of floats
transform(self)
Gets the transform matrix from the objects local coordinate system to world coordinates.

Inherited from object: __format__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__delattr__(...)

 

x.__delattr__('name') <==> del x.name

Overrides: object.__delattr__

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__setattr__(...)

 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__

attribContext(self, name, group, type)

 
Gets an attribute context for the named attribute of this object. If the attribute doesn't exist, returns None.

The group and type parameters are both optional. The group specifies what the attribute applies to; it can be any of:
  0  primitives
  1  vertices
  2  points
  3  object
  4  matrix

The type parameter specifies the expected type of the object. It can be any of:
  0  float
  1  Vector2
  2  Vector3
  3  Vector4
  4  a normal vector (stored as a Vector3)
  5  int
  6  string

Returns: AttribContext