diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-27 16:10:09 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-04 14:08:16 +0200 |
commit | 542489a86696cba222711a20e31704a62d4b8fed (patch) | |
tree | 33cad996a760b77b4538850a9614fa1fc3451548 /doc/classes/ConeTwistJoint.xml | |
parent | 7b569e91c0c6b84965cad416b8e86dcfdacbcfc4 (diff) |
DocData: Re-expose parametric setters and getters
Setters and getters have been hidden from the documentation when the matching
properties have been exposed, but some of them are parametric and require the
name or index of a given parameter to be used. So they need to be properly
documented with the type and name of the arguments they take.
For example, CPUParticles' `set_param(Parameter param, float value)`.
Diffstat (limited to 'doc/classes/ConeTwistJoint.xml')
-rw-r--r-- | doc/classes/ConeTwistJoint.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/ConeTwistJoint.xml b/doc/classes/ConeTwistJoint.xml index ad9c2b3a35..4c95a4bef9 100644 --- a/doc/classes/ConeTwistJoint.xml +++ b/doc/classes/ConeTwistJoint.xml @@ -11,6 +11,24 @@ <tutorials> </tutorials> <methods> + <method name="get_param" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="param" type="int" enum="ConeTwistJoint.Param"> + </argument> + <description> + </description> + </method> + <method name="set_param"> + <return type="void"> + </return> + <argument index="0" name="param" type="int" enum="ConeTwistJoint.Param"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="bias" type="float" setter="set_param" getter="get_param" default="0.3"> |