Skip to content

Commit d805fe3

Browse files
authored
BillboardEffect: Update parameter name case (#140)
1 parent 0f19a4f commit d805fe3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

programming/render-effects/billboard.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,12 @@ yourself:
9595
.. code-block:: python
9696
9797
myEffect = BillboardEffect.make(
98-
upVector=vec3,
99-
eyeRelative=bool,
100-
axialRotate=bool,
98+
up_vector=vec3,
99+
eye_relative=bool,
100+
axial_rotate=bool,
101101
offset=float,
102-
lookAt=nodepath,
103-
lookAtPoint=point3
102+
look_at=nodepath,
103+
look_at_point=point3,
104+
fixed_depth=bool
104105
)
105106
myNodePath.node().setEffect(myEffect)

0 commit comments

Comments
 (0)