Top | ![]() |
![]() |
![]() |
![]() |
GthreeObject * | first-child | Read |
GthreeObject * | last-child | Read |
GthreeObject * | next-sibling | Read |
GthreeObject * | parent | Read |
GthreeObject * | previous-sibling | Read |
gboolean | visible | Read / Write |
GObject ╰── GthreeObject ├── GthreeLight ├── GthreeBone ├── GthreeCamera ├── GthreeGroup ├── GthreeLine ├── GthreeMesh ├── GthreePoints ├── GthreeScene ╰── GthreeSprite
void (*GthreeBeforeRenderCallback) (GthreeObject *object
,GthreeScene *scene
,GthreeCamera *camera
);
gboolean (*GthreeTraverseCallback) (GthreeObject *object
,gpointer user_data
);
void gthree_object_add_child (GthreeObject *object
,GthreeObject *child
);
void gthree_object_apply_matrix (GthreeObject *object
,const graphene_matrix_t *matrix
);
gboolean gthree_object_check_layer (GthreeObject *object
,guint32 layer_mask
);
void
gthree_object_destroy_all_children (GthreeObject *object
);
void gthree_object_disable_layer (GthreeObject *object
,guint layer
);
GList * gthree_object_find_by_name (GthreeObject *object
,const char *name
);
GList * gthree_object_find_by_type (GthreeObject *object
,GType g_type
);
GthreeObject * gthree_object_find_first_by_name (GthreeObject *object
,const char *name
);
GthreeObject *
gthree_object_get_first_child (GthreeObject *object
);
gboolean
gthree_object_get_is_frustum_culled (GthreeObject *object
);
const graphene_matrix_t *
gthree_object_get_matrix (GthreeObject *object
);
void gthree_object_get_mesh_extents (GthreeObject *object
,graphene_box_t *box
);
void gthree_object_get_model_view_matrix_floats (GthreeObject *object
,float *dest
);
GthreeObject *
gthree_object_get_next_sibling (GthreeObject *object
);
void gthree_object_get_normal_matrix3_floats (GthreeObject *object
,float *dest
);
const graphene_vec3_t *
gthree_object_get_position (GthreeObject *object
);
GthreeObject *
gthree_object_get_previous_sibling (GthreeObject *object
);
const graphene_quaternion_t *
gthree_object_get_quaternion (GthreeObject *object
);
const graphene_euler_t *
gthree_object_get_rotation (GthreeObject *object
);
const graphene_matrix_t *
gthree_object_get_world_matrix (GthreeObject *object
);
void gthree_object_get_world_matrix_floats (GthreeObject *object
,float *dest
);
gboolean gthree_object_has_attribute_data (GthreeObject *object
,GQuark attribute
);
gboolean gthree_object_is_in_frustum (GthreeObject *object
,const graphene_frustum_t *frustum
);
void gthree_object_iter_init (GthreeObjectIter *iter
,GthreeObject *root
);
gboolean gthree_object_iter_next (GthreeObjectIter *iter
,GthreeObject **child
);
gboolean gthree_object_iter_prev (GthreeObjectIter *iter
,GthreeObject **child
);
void gthree_object_look_at (GthreeObject *object
,const graphene_vec3_t *pos
);
void gthree_object_remove_child (GthreeObject *object
,GthreeObject *child
);
void gthree_object_set_before_render_callback (GthreeObject *object
,GthreeBeforeRenderCallback callback
);
void gthree_object_set_matrix (GthreeObject *object
,const graphene_matrix_t *matrix
);
void gthree_object_set_matrix_auto_update (GthreeObject *object
,gboolean auto_update
);
void gthree_object_set_position (GthreeObject *object
,const graphene_vec3_t *vec
);
void gthree_object_set_position_point3d (GthreeObject *object
,const graphene_point3d_t *pos
);
void gthree_object_set_quaternion (GthreeObject *object
,const graphene_quaternion_t *q
);
void gthree_object_set_rotation (GthreeObject *object
,const graphene_euler_t *rot
);
void gthree_object_set_scale (GthreeObject *object
,const graphene_vec3_t *scale
);
void gthree_object_set_scale_point3d (GthreeObject *object
,const graphene_point3d_t *scale
);
void gthree_object_set_visible (GthreeObject *object
,gboolean visible
);
void gthree_object_set_world_matrix (GthreeObject *object
,const graphene_matrix_t *matrix
);
void gthree_object_translate_on_axis (GthreeObject *object
,const graphene_vec3_t *axis
,float distance
);
void gthree_object_traverse (GthreeObject *object
,GthreeTraverseCallback callback
,gpointer user_data
);
void gthree_object_traverse_ancestors (GthreeObject *object
,GthreeTraverseCallback callback
,gpointer user_data
);
void gthree_object_traverse_visible (GthreeObject *object
,GthreeTraverseCallback callback
,gpointer user_data
);
void gthree_object_update_matrix_view (GthreeObject *object
,const graphene_matrix_t *camera_matrix
);
void gthree_object_update_matrix_world (GthreeObject *object
,gboolean force
);
typedef struct { GObjectClass parent_class; gboolean (* in_frustum) (GthreeObject *object, const graphene_frustum_t *frustum); void (* parent_set) (GthreeObject *object, GthreeObject *old_parent); void (* update) (GthreeObject *object, GthreeRenderer *renderer); void (* destroy) (GthreeObject *object); gboolean (* update_matrix_world) (GthreeObject *object, gboolean force); void (* fill_render_list) (GthreeObject *object, GthreeRenderList *list); void (* set_direct_uniforms) (GthreeObject *object, GthreeProgram *program, GthreeRenderer *renderer); void (* raycast) (GthreeObject *object, GthreeRaycaster *raycaster, GPtrArray *intersections); gpointer padding[8]; } GthreeObjectClass;
“first-child”
property“first-child” GthreeObject *
First Child.
Owner: GthreeObject
Flags: Read
“next-sibling”
property“next-sibling” GthreeObject *
Next Sibling.
Owner: GthreeObject
Flags: Read
“previous-sibling”
property“previous-sibling” GthreeObject *
Previous Sibling.
Owner: GthreeObject
Flags: Read
“destroy”
signalvoid user_function (GthreeObject *gthreeobject, gpointer user_data)
Flags: No Hooks
“parent-set”
signalvoid user_function (GthreeObject *gthreeobject, GthreeObject *arg1, gpointer user_data)
Flags: Run Last