Blender V4.3
DriverTargetContext Struct Reference

#include <BKE_fcurve_driver.h>

Public Attributes

struct Scenescene
 
struct ViewLayerview_layer
 

Detailed Description

Get property from which the specific property can be found from.

This depends on the type of dvar:

  • For the Single Property the r_prop is a pointer to an ID, which is used to resolve the target rna_path.
  • For Transform Channel, Rotational Difference, Distance the r_prop is a pointer to an object from which transformation is read.
  • For Context Property the r_prop points to a resolved data corresponding to the dtar->context_property accessed from the given evaluated context. This could either be an ID property for Active Scene, or a data property for Active View Layer.

If the target property can not be resolved false is returned.

Definition at line 82 of file BKE_fcurve_driver.h.

Member Data Documentation

◆ scene

◆ view_layer


The documentation for this struct was generated from the following file: