46 void set_position(
const glm::vec3&
position);
52 void set_size(
float size);
58 void set_color(
const glm::vec3&
color);
64 [[nodiscard]] glm::vec3
get_position()
const {
return m_point_vertex.position; }
70 [[nodiscard]] glm::vec3
get_color()
const {
return m_point_vertex.color; }
76 [[nodiscard]]
float get_size()
const {
return m_point_vertex.size; }
81 void compute_frame()
override;
std::optional< glm::vec3 > color
Base class for nodes that generate 3D geometry data.
glm::vec3 get_color() const
Get current color.
float get_size() const
Get current size.
glm::vec3 get_position() const
Get current position.
PointVertex m_point_vertex
Single 3D point in space.
Vertex type for point primitives (POINT_LIST topology)