Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_object.h
| Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
| * Free data derived from mesh, called when mesh changes or is freed. | * Free data derived from mesh, called when mesh changes or is freed. | ||||
| */ | */ | ||||
| void BKE_object_free_derived_caches(struct Object *ob); | void BKE_object_free_derived_caches(struct Object *ob); | ||||
| void BKE_object_free_caches(struct Object *object); | void BKE_object_free_caches(struct Object *object); | ||||
| void BKE_object_modifier_hook_reset(struct Object *ob, struct HookModifierData *hmd); | void BKE_object_modifier_hook_reset(struct Object *ob, struct HookModifierData *hmd); | ||||
| void BKE_object_modifier_gpencil_hook_reset(struct Object *ob, | void BKE_object_modifier_gpencil_hook_reset(struct Object *ob, | ||||
| struct HookGpencilModifierData *hmd); | struct HookGpencilModifierData *hmd); | ||||
| bool BKE_object_modifier_gpencil_use_time(struct Object *ob, struct GpencilModifierData *md); | |||||
| bool BKE_object_shaderfx_use_time(struct Object *ob, struct ShaderFxData *fx); | |||||
| /** | /** | ||||
| * \return True if the object's type supports regular modifiers (not grease pencil modifiers). | * \return True if the object's type supports regular modifiers (not grease pencil modifiers). | ||||
| */ | */ | ||||
| bool BKE_object_supports_modifiers(const struct Object *ob); | bool BKE_object_supports_modifiers(const struct Object *ob); | ||||
| bool BKE_object_support_modifier_type_check(const struct Object *ob, int modifier_type); | bool BKE_object_support_modifier_type_check(const struct Object *ob, int modifier_type); | ||||
| /* Active modifier. */ | /* Active modifier. */ | ||||
| ▲ Show 20 Lines • Show All 541 Lines • ▼ Show 20 Lines | |||||
| * \note Only mesh objects currently support deforming, others are TODO. | * \note Only mesh objects currently support deforming, others are TODO. | ||||
| * | * | ||||
| * \param ob: | * \param ob: | ||||
| * \param r_tot: | * \param r_tot: | ||||
| * \return The KD-tree or nullptr if it can't be created. | * \return The KD-tree or nullptr if it can't be created. | ||||
| */ | */ | ||||
| struct KDTree_3d *BKE_object_as_kdtree(struct Object *ob, int *r_tot); | struct KDTree_3d *BKE_object_as_kdtree(struct Object *ob, int *r_tot); | ||||
| bool BKE_object_modifier_use_time(struct Scene *scene, struct Object *ob, struct ModifierData *md); | |||||
| /** | /** | ||||
| * \note this function should eventually be replaced by depsgraph functionality. | * \note this function should eventually be replaced by depsgraph functionality. | ||||
| * Avoid calling this in new code unless there is a very good reason for it! | * Avoid calling this in new code unless there is a very good reason for it! | ||||
| */ | */ | ||||
| bool BKE_object_modifier_update_subframe(struct Depsgraph *depsgraph, | bool BKE_object_modifier_update_subframe(struct Depsgraph *depsgraph, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| bool update_mesh, | bool update_mesh, | ||||
| ▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines | |||||