|
def | __init__ (self, jsondict) |
|
def | is_static (self) |
|
def | vtx_buffer_count (self) |
|
def | vtx_buffer (self) |
|
def | idx_buffer (self, idx_buffer, num_vtx, start_idx, inst_idx) |
|
def | opacity (self) |
|
def | instance_enabled (self, instance_idx) |
|
def | set_input_params (self, obj, **kwargs) |
|
def | defaulted_value (self, name, default_val) |
|
def | instance_draw_method (self, instance_idx) |
|
def | instance_display_mode (self, instance_idx) |
|
def | instance_vp2_primitive (self, instance_idx) |
|
def | get_input_params (self) |
|
def | vtx_buffer (self, **kwargs) |
|
def | has_uvs (self) |
|
def | uv_buffer (self) |
|
def | color_buffer (self) |
|
◆ __init__()
def rfm2.vp.geo.frustum.Frustum.__init__ |
( |
|
self, |
|
|
|
jsondict |
|
) |
| |
◆ idx_buffer()
def rfm2.vp.geo.frustum.Frustum.idx_buffer |
( |
|
self, |
|
|
|
idx_buffer, |
|
|
|
num_vtx, |
|
|
|
start_idx, |
|
|
|
inst_idx |
|
) |
| |
Fill the provided index buffer to draw the shape.
Args:
- idx_buffer (omr.MIndexBuffer): un-allocated storage for our result.
- num_vtx (int): The total number of vertices in the VBO.
- startIdx (int): the index of our first vtx in the VBO
- item_idx (int): 0 = outer frustum, 1 = inner frustum, 2 = frustum edges
Reimplemented from rfm2.vp.geo.base.Vp2GeometryBase.
◆ instance_enabled()
def rfm2.vp.geo.frustum.Frustum.instance_enabled |
( |
|
self, |
|
|
|
instance_idx |
|
) |
| |
◆ is_static()
def rfm2.vp.geo.frustum.Frustum.is_static |
( |
|
self | ) |
|
◆ opacity()
def rfm2.vp.geo.frustum.Frustum.opacity |
( |
|
self | ) |
|
◆ set_input_params()
def rfm2.vp.geo.frustum.Frustum.set_input_params |
( |
|
self, |
|
|
|
obj, |
|
|
** |
kwargs |
|
) |
| |
◆ vtx_buffer()
def rfm2.vp.geo.frustum.Frustum.vtx_buffer |
( |
|
self | ) |
|
Return a list of vertices (list) in local space.
Use the vtx_list (the original light shape) to build the outer coneAngle
at the specified depth.
◆ vtx_buffer_count()
def rfm2.vp.geo.frustum.Frustum.vtx_buffer_count |
( |
|
self | ) |
|
◆ angle
rfm2.vp.geo.frustum.Frustum.angle |
◆ base_shape
rfm2.vp.geo.frustum.Frustum.base_shape |
◆ depth
rfm2.vp.geo.frustum.Frustum.depth |
◆ softness
rfm2.vp.geo.frustum.Frustum.softness |
The documentation for this class was generated from the following file:
- /Users/plp/Perforce/plp_thebridge_rman_24_dev/rat/apps/rfm/scripts/rfm2/vp/geo/frustum.py