Class Cube
About :
A graphic node for a cube between [-1,-1,-1] and [1,1,1]
Functions
Function | summury |
---|---|
__init__(self, obj=None) | |
set_diffuse_texture(self, face=’x+’, texture=None) | Define the texture for a face (more…) |
Methods desciption :
init
def __init__(self, obj=None)
set_diffuse_texture
def set_diffuse_texture(self, face='x+', texture=None)
Define the texture for a face
- → face-id : [‘z-‘,’z+’,’x-‘,’x+’,’y+’‘y-‘]
- → texture to be applied to the face