mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
egg: add properties to EggData / EggNode
This commit is contained in:
parent
3d383a3d9c
commit
54ec575472
@ -68,6 +68,12 @@ PUBLISHED:
|
||||
INLINE void set_egg_timestamp(time_t egg_timestamp);
|
||||
INLINE time_t get_egg_timestamp() const;
|
||||
|
||||
MAKE_PROPERTY(auto_resolve_externals, get_auto_resolve_externals,
|
||||
set_auto_resolve_externals);
|
||||
MAKE_PROPERTY(coordinate_system, get_coordinate_system, set_coordinate_system);
|
||||
MAKE_PROPERTY(egg_filename, get_egg_filename, set_egg_filename);
|
||||
MAKE_PROPERTY(egg_timestamp, get_egg_timestamp, set_egg_timestamp);
|
||||
|
||||
INLINE void recompute_vertex_normals(double threshold);
|
||||
INLINE void recompute_polygon_normals();
|
||||
INLINE void strip_normals();
|
||||
|
@ -109,6 +109,7 @@ PUBLISHED:
|
||||
EggNode *get_next_child();
|
||||
|
||||
EXTENSION(PyObject *get_children() const);
|
||||
MAKE_PROPERTY(children, get_children);
|
||||
|
||||
EggNode *add_child(EggNode *node);
|
||||
PT(EggNode) remove_child(EggNode *node);
|
||||
|
@ -44,6 +44,9 @@ PUBLISHED:
|
||||
INLINE bool is_under_transform() const;
|
||||
INLINE bool is_local_coord() const;
|
||||
|
||||
MAKE_PROPERTY(parent, get_parent);
|
||||
MAKE_PROPERTY(depth, get_depth);
|
||||
|
||||
INLINE const LMatrix4d &get_vertex_frame() const;
|
||||
INLINE const LMatrix4d &get_node_frame() const;
|
||||
INLINE const LMatrix4d &get_vertex_frame_inv() const;
|
||||
@ -51,12 +54,12 @@ PUBLISHED:
|
||||
INLINE const LMatrix4d &get_vertex_to_node() const;
|
||||
INLINE const LMatrix4d &get_node_to_vertex() const;
|
||||
|
||||
INLINE const LMatrix4d *get_vertex_frame_ptr()const;
|
||||
INLINE const LMatrix4d *get_node_frame_ptr()const;
|
||||
INLINE const LMatrix4d *get_vertex_frame_inv_ptr()const;
|
||||
INLINE const LMatrix4d *get_node_frame_inv_ptr()const;
|
||||
INLINE const LMatrix4d *get_vertex_to_node_ptr()const;
|
||||
INLINE const LMatrix4d *get_node_to_vertex_ptr()const;
|
||||
INLINE const LMatrix4d *get_vertex_frame_ptr() const;
|
||||
INLINE const LMatrix4d *get_node_frame_ptr() const;
|
||||
INLINE const LMatrix4d *get_vertex_frame_inv_ptr() const;
|
||||
INLINE const LMatrix4d *get_node_frame_inv_ptr() const;
|
||||
INLINE const LMatrix4d *get_vertex_to_node_ptr() const;
|
||||
INLINE const LMatrix4d *get_node_to_vertex_ptr() const;
|
||||
|
||||
INLINE void transform(const LMatrix4d &mat);
|
||||
INLINE void transform_vertices_only(const LMatrix4d &mat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user