|
@@ -93,13 +93,13 @@
|
|
|
<member name="emission_points" type="PoolVector2Array" setter="set_emission_points" getter="get_emission_points">
|
|
|
</member>
|
|
|
<member name="emission_rect_extents" type="Vector2" setter="set_emission_rect_extents" getter="get_emission_rect_extents">
|
|
|
- The rectangle's extents if [member emission_shape] is set to [const EMISSION_SHAPE_RECTANGLE].
|
|
|
+ The rectangle's extents if [member emission_shape] is set to [constant EMISSION_SHAPE_RECTANGLE].
|
|
|
</member>
|
|
|
<member name="emission_shape" type="int" setter="set_emission_shape" getter="get_emission_shape" enum="CPUParticles2D.EmissionShape">
|
|
|
Particles will be emitted inside this region. Use [enum EmissionShape] for values. Default value: [constant EMISSION_SHAPE_POINT].
|
|
|
</member>
|
|
|
<member name="emission_sphere_radius" type="float" setter="set_emission_sphere_radius" getter="get_emission_sphere_radius">
|
|
|
- The circle's radius if [member emission_shape] is set to [const EMISSION_SHAPE_CIRCLE].
|
|
|
+ The circle's radius if [member emission_shape] is set to [constant EMISSION_SHAPE_CIRCLE].
|
|
|
</member>
|
|
|
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
|
|
If [code]true[/code], particles are being emitted. Default value: [code]true[/code].
|
|
@@ -215,7 +215,7 @@
|
|
|
</constant>
|
|
|
<constant name="DRAW_ORDER_LIFETIME" value="1" enum="DrawOrder">
|
|
|
Particles are drawn in order of remaining lifetime.
|
|
|
- </constant
|
|
|
+ </constant>
|
|
|
<constant name="PARAM_INITIAL_LINEAR_VELOCITY" value="0" enum="Parameter">
|
|
|
Use with [method set_param], [method set_param_randomness], and [method set_param_texture] to set initial velocity properties.
|
|
|
</constant>
|
|
@@ -259,10 +259,10 @@
|
|
|
Use with [method set_flag] to set [member flag_align_y].
|
|
|
</constant>
|
|
|
<constant name="FLAG_ROTATE_Y" value="1" enum="Flags">
|
|
|
- Use with [method set_flag] to set [member flag_rotate_y]. Present for consistency with 3D particle nodes, not used in 2D.
|
|
|
+ Present for consistency with 3D particle nodes, not used in 2D.
|
|
|
</constant>
|
|
|
<constant name="FLAG_DISABLE_Z" value="2" enum="Flags">
|
|
|
- Use with [method set_flag] to set [member flag_disable_z]. Present for consistency with 3D particle nodes, not used in 2D.
|
|
|
+ Present for consistency with 3D particle nodes, not used in 2D.
|
|
|
</constant>
|
|
|
<constant name="FLAG_MAX" value="3" enum="Flags">
|
|
|
Represents the size of the [enum Flags] enum.
|
|
@@ -277,10 +277,10 @@
|
|
|
Particles will be emitted in the area of a rectangle.
|
|
|
</constant>
|
|
|
<constant name="EMISSION_SHAPE_POINTS" value="3" enum="EmissionShape">
|
|
|
- Particles will be emitted at a position determined by sampling a random point on the [member emission_point_texture]. Particle color will be modulated by [member emission_color_texture].
|
|
|
+ Particles will be emitted at a position chosen randomly among [member emission_points]. Particle color will be modulated by [member emission_colors].
|
|
|
</constant>
|
|
|
<constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="4" enum="EmissionShape">
|
|
|
- Particles will be emitted at a position determined by sampling a random point on the [member emission_point_texture]. Particle velocity and rotation will be set based on [member emission_normal_texture]. Particle color will be modulated by [member emission_color_texture].
|
|
|
+ Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors].
|
|
|
</constant>
|
|
|
</constants>
|
|
|
</class>
|