collada.geometry.BoundGeometry

class collada.geometry.BoundGeometry(geom, matrix, materialnodebysymbol)

Bases: object

A geometry bound to a transform matrix and material mapping. This gets created when a geometry is instantiated in a scene. Do not create this manually.

digraph inheritance87a6a58755 { rankdir=LR; size="8.0, 12.0"; "BoundGeometry" [URL="#collada.geometry.BoundGeometry",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="A geometry bound to a transform matrix and material mapping."]; "DaeObject" [URL="collada.common.DaeObject.html#collada.common.DaeObject",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="This class is the abstract interface to all collada objects."]; "Geometry" [URL="collada.geometry.Geometry.html#collada.geometry.Geometry",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="A class containing the data coming from a COLLADA <geometry> tag"]; "DaeObject" -> "Geometry" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
__init__(geom, matrix, materialnodebysymbol)

Methods

__init__(geom, matrix, materialnodebysymbol)
primitives() Returns an iterator that iterates through the primitives in the bound geometry.
matrix = None

The matrix bound to

materialnodebysymbol = None

Dictionary with the material symbols inside the primitive assigned to collada.scene.MaterialNode defined in the scene

original = None

The original collada.geometry.Geometry object this is bound to

primitives()

Returns an iterator that iterates through the primitives in the bound geometry. Each value returned will be of base type collada.primitive.BoundPrimitive