Added docs for DRAW_ORDER_REVERSE_LIFETIME constant and minor XR log improvement
This commit is contained in:
parent
e38686f85b
commit
3c82f4a371
|
@ -297,7 +297,7 @@
|
|||
Particles are drawn in the order emitted.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_LIFETIME" value="1" enum="DrawOrder">
|
||||
Particles are drawn in order of remaining lifetime.
|
||||
Particles are drawn in order of remaining lifetime. In other words, the particle with the highest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="PARAM_INITIAL_LINEAR_VELOCITY" value="0" enum="Parameter">
|
||||
Use with [method set_param_min], [method set_param_max], and [method set_param_curve] to set initial velocity properties.
|
||||
|
|
|
@ -322,7 +322,7 @@
|
|||
Particles are drawn in the order emitted.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_LIFETIME" value="1" enum="DrawOrder">
|
||||
Particles are drawn in order of remaining lifetime.
|
||||
Particles are drawn in order of remaining lifetime. In other words, the particle with the highest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_VIEW_DEPTH" value="2" enum="DrawOrder">
|
||||
Particles are drawn in order of depth.
|
||||
|
|
|
@ -141,9 +141,10 @@
|
|||
Particles are drawn in the order emitted.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_LIFETIME" value="1" enum="DrawOrder">
|
||||
Particles are drawn in order of remaining lifetime.
|
||||
Particles are drawn in order of remaining lifetime. In other words, the particle with the highest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_REVERSE_LIFETIME" value="2" enum="DrawOrder">
|
||||
Particles are drawn in reverse order of remaining lifetime. In other words, the particle with the lowest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="EMIT_FLAG_POSITION" value="1" enum="EmitFlags">
|
||||
Particle starts at the specified position.
|
||||
|
|
|
@ -166,9 +166,10 @@
|
|||
Particles are drawn in the order emitted.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_LIFETIME" value="1" enum="DrawOrder">
|
||||
Particles are drawn in order of remaining lifetime.
|
||||
Particles are drawn in order of remaining lifetime. In other words, the particle with the highest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_REVERSE_LIFETIME" value="2" enum="DrawOrder">
|
||||
Particles are drawn in reverse order of remaining lifetime. In other words, the particle with the lowest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="DRAW_ORDER_VIEW_DEPTH" value="3" enum="DrawOrder">
|
||||
Particles are drawn in order of depth.
|
||||
|
|
|
@ -4505,9 +4505,10 @@
|
|||
Draw particles in the order that they appear in the particles array.
|
||||
</constant>
|
||||
<constant name="PARTICLES_DRAW_ORDER_LIFETIME" value="1" enum="ParticlesDrawOrder">
|
||||
Sort particles based on their lifetime.
|
||||
Sort particles based on their lifetime. In other words, the particle with the highest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="PARTICLES_DRAW_ORDER_REVERSE_LIFETIME" value="2" enum="ParticlesDrawOrder">
|
||||
Sort particles based on the inverse of their lifetime. In other words, the particle with the lowest lifetime is drawn at the front.
|
||||
</constant>
|
||||
<constant name="PARTICLES_DRAW_ORDER_VIEW_DEPTH" value="3" enum="ParticlesDrawOrder">
|
||||
Sort particles based on their distance to the camera.
|
||||
|
|
|
@ -198,9 +198,7 @@ void XRServer::remove_interface(const Ref<XRInterface> &p_interface) {
|
|||
};
|
||||
|
||||
ERR_FAIL_COND_MSG(idx == -1, "Interface not found.");
|
||||
|
||||
print_verbose("XR: Removed interface" + p_interface->get_name());
|
||||
|
||||
print_verbose("XR: Removed interface \"" + p_interface->get_name() + "\"");
|
||||
emit_signal(SNAME("interface_removed"), p_interface->get_name());
|
||||
interfaces.remove_at(idx);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue