SubPrimitive

class guerilla.SubPrimitive

Bases: guerilla.SubLocator

Primitive subelement

RibAttributes

The dependency on the additional Rib Attributes to be assigned

Type:None
getmaterial()

Get the Material assigned to this SubPrimitive

Returns:the Material assigned, or None if no Material is assigned.
Return type:Material
setmaterial(material)

Assign a Material to this subprimitive

Parameters:material (Material or None) – The new material to assign to this subprimitive, or nil is none