doc: Sync classref with current source
Bind missing enums.
This commit is contained in:
parent
9d9ee2d4c2
commit
a2a78a8066
17 changed files with 622 additions and 78 deletions
|
|
@ -18,6 +18,22 @@
|
|||
Returns the axis-aligned bounding box that contains all the particles that are active in the current frame.
|
||||
</description>
|
||||
</method>
|
||||
<method name="emit_particle">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="xform" type="Transform">
|
||||
</argument>
|
||||
<argument index="1" name="velocity" type="Vector3">
|
||||
</argument>
|
||||
<argument index="2" name="color" type="Color">
|
||||
</argument>
|
||||
<argument index="3" name="custom" type="Color">
|
||||
</argument>
|
||||
<argument index="4" name="flags" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_draw_pass_mesh" qualifiers="const">
|
||||
<return type="Mesh">
|
||||
</return>
|
||||
|
|
@ -101,6 +117,8 @@
|
|||
<member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale" default="1.0">
|
||||
Speed scaling ratio. A value of [code]0[/code] can be used to pause the particles.
|
||||
</member>
|
||||
<member name="sub_emitter" type="NodePath" setter="set_sub_emitter" getter="get_sub_emitter" default="NodePath("")">
|
||||
</member>
|
||||
<member name="visibility_aabb" type="AABB" setter="set_visibility_aabb" getter="get_visibility_aabb" default="AABB( -4, -4, -4, 8, 8, 8 )">
|
||||
The [AABB] that determines the area of the world part of which needs to be visible on screen for the particle system to be active.
|
||||
</member>
|
||||
|
|
@ -115,6 +133,16 @@
|
|||
<constant name="DRAW_ORDER_VIEW_DEPTH" value="2" enum="DrawOrder">
|
||||
Particles are drawn in order of depth.
|
||||
</constant>
|
||||
<constant name="EMIT_FLAG_POSITION" value="1" enum="EmitFlags">
|
||||
</constant>
|
||||
<constant name="EMIT_FLAG_ROTATION_SCALE" value="2" enum="EmitFlags">
|
||||
</constant>
|
||||
<constant name="EMIT_FLAG_VELOCITY" value="4" enum="EmitFlags">
|
||||
</constant>
|
||||
<constant name="EMIT_FLAG_COLOR" value="8" enum="EmitFlags">
|
||||
</constant>
|
||||
<constant name="EMIT_FLAG_CUSTOM" value="16" enum="EmitFlags">
|
||||
</constant>
|
||||
<constant name="MAX_DRAW_PASSES" value="4">
|
||||
Maximum number of draw passes supported.
|
||||
</constant>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue