def rfm2.vp.geo.rect.Rect.__init__ |
( |
|
self, |
|
|
|
jsondict |
|
) |
| |
def rfm2.vp.geo.rect.Rect.has_uvs |
( |
|
self | ) |
|
Return True if we can emit a uv vertex buffer.
def rfm2.vp.geo.rect.Rect.idx_buffer |
( |
|
self, |
|
|
|
idx_buffer, |
|
|
|
num_vtx, |
|
|
|
start_idx, |
|
|
|
item_idx |
|
) |
| |
Fill the provided index buffer to draw the shape.
def rfm2.vp.geo.rect.Rect.is_static |
( |
|
self | ) |
|
def rfm2.vp.geo.rect.Rect.set_input_params |
( |
|
self, |
|
|
|
obj, |
|
|
|
kwargs |
|
) |
| |
Update internal input param values using kwargs.
def rfm2.vp.geo.rect.Rect.uv_buffer |
( |
|
self | ) |
|
Return a list of array coordinates for the shape. They should be
ordered exactly like the vertex buffer points and have the same size
as the vxt buffer.
The default implementation returns a zero-filled list the same size
as the vtx buffer to keep the uv buffer aligned with the vtx buffer.
def rfm2.vp.geo.rect.Rect.vtx_buffer |
( |
|
self | ) |
|
Return a list of vertices (list) in local space.
def rfm2.vp.geo.rect.Rect.vtx_buffer_count |
( |
|
self | ) |
|
Return the number of vertices in this buffer.
rfm2.vp.geo.rect.Rect.axis |
rfm2.vp.geo.rect.Rect.flip_u |
rfm2.vp.geo.rect.Rect.flip_v |
rfm2.vp.geo.rect.Rect.height |
rfm2.vp.geo.rect.Rect.pos |
rfm2.vp.geo.rect.Rect.width |
The documentation for this class was generated from the following file:
- /data/wlw/renderman_root/rat/apps/rfm/scripts/rfm2/vp/geo/rect.py