|
Blender V4.3
|
#include <obj_import_objects.hh>
Public Member Functions | |
| void | set_vertex_color (size_t index, float3 color) |
| bool | has_vertex_color (size_t index) const |
| void | flush_mrgb_block () |
Public Attributes | |
| Vector< float3 > | vertices |
| Vector< float2 > | uv_vertices |
| Vector< float3 > | vert_normals |
| Vector< float3 > | vertex_colors |
| Vector< float3 > | mrgb_block |
All vertex positions, normals, UVs, colors in the OBJ file.
Definition at line 24 of file obj_import_objects.hh.
|
inline |
Definition at line 53 of file obj_import_objects.hh.
References mrgb_block, and vertex_colors.
Referenced by blender::io::obj::geom_add_vertex(), and blender::io::obj::OBJParser::parse().
|
inline |
Definition at line 48 of file obj_import_objects.hh.
References vertex_colors.
|
inline |
Definition at line 40 of file obj_import_objects.hh.
References vertex_colors.
Referenced by blender::io::obj::geom_add_vertex().
Block of colors buffered for #MRGB extension. Flushed to vertex_colors when complete (at next vertex or end-of-file).
Definition at line 38 of file obj_import_objects.hh.
Referenced by flush_mrgb_block(), and blender::io::obj::geom_add_mrgb_colors().
Definition at line 26 of file obj_import_objects.hh.
Referenced by blender::io::obj::geom_add_polygon(), and blender::io::obj::geom_add_uv_vertex().
Definition at line 27 of file obj_import_objects.hh.
Referenced by blender::io::obj::geom_add_polygon(), and blender::io::obj::geom_add_vertex_normal().
Vertex color for each vertex. -1 indicates no vertex color was specified. Being shorter than vertices also means the missing vertices had no color.
Definition at line 33 of file obj_import_objects.hh.
Referenced by flush_mrgb_block(), has_vertex_color(), and set_vertex_color().
Definition at line 25 of file obj_import_objects.hh.
Referenced by blender::io::obj::geom_add_curve_vertex_indices(), blender::io::obj::geom_add_polygon(), blender::io::obj::geom_add_polyline(), blender::io::obj::geom_add_vertex(), and blender::io::obj::use_all_vertices_if_no_faces().