|
def | __init__ (self, jsondict) |
|
def | vtxs (self) |
|
def | uvs (self) |
|
def | is_static (self) |
|
def | instance_draw_method (self, instance_idx) |
|
def | get_input_params (self) |
|
def | vtx_buffer_count (self) |
|
def | vtx_buffer (self) |
|
def | has_uvs (self) |
|
def | uv_buffer (self) |
|
def | defaulted_value (self, name, default_val) |
|
def | instance_display_mode (self, instance_idx) |
|
def | instance_vp2_primitive (self, instance_idx) |
|
def | instance_enabled (self, instance_idx) |
|
def | opacity (self) |
|
def | set_input_params (self, obj, **kwargs) |
|
def | vtx_buffer (self, **kwargs) |
|
def | color_buffer (self) |
|
def | idx_buffer (self, idx_buffer, num_vtx, start_idx, inst_idx) |
|
◆ __init__()
def rfm2.vp.geo.vertex_array.VertexArray.__init__ |
( |
|
self, |
|
|
|
jsondict |
|
) |
| |
◆ get_input_params()
def rfm2.vp.geo.vertex_array.VertexArray.get_input_params |
( |
|
self | ) |
|
◆ has_uvs()
def rfm2.vp.geo.vertex_array.VertexArray.has_uvs |
( |
|
self | ) |
|
◆ instance_draw_method()
def rfm2.vp.geo.vertex_array.VertexArray.instance_draw_method |
( |
|
self, |
|
|
|
instance_idx |
|
) |
| |
◆ is_static()
def rfm2.vp.geo.vertex_array.VertexArray.is_static |
( |
|
self | ) |
|
Tells the vp code if the geometry is static or deforming, like a
spot light frustum for example. Defaults to True.
Reimplemented from rfm2.vp.geo.base.Vp2GeometryBase.
◆ uv_buffer()
def rfm2.vp.geo.vertex_array.VertexArray.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.
Reimplemented from rfm2.vp.geo.base.Vp2GeometryBase.
◆ uvs()
def rfm2.vp.geo.vertex_array.VertexArray.uvs |
( |
|
self | ) |
|
Return uv coordinates. Optional property.
◆ vtx_buffer()
def rfm2.vp.geo.vertex_array.VertexArray.vtx_buffer |
( |
|
self | ) |
|
Return a list of vertices (list) in local space.
◆ vtx_buffer_count()
def rfm2.vp.geo.vertex_array.VertexArray.vtx_buffer_count |
( |
|
self | ) |
|
◆ vtxs()
def rfm2.vp.geo.vertex_array.VertexArray.vtxs |
( |
|
self | ) |
|
Return positions. Mandatory property.
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/vertex_array.py