瀏覽代碼

Merge pull request #90967 from Alex-Mayo/emission_box_extentsNote

Clarify docs for ParticleProcessMaterial `emission_box_extents`
Rémi Verschelde 1 年之前
父節點
當前提交
82aab561ef
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/ParticleProcessMaterial.xml

+ 1 - 0
doc/classes/ParticleProcessMaterial.xml

@@ -185,6 +185,7 @@
 		</member>
 		<member name="emission_box_extents" type="Vector3" setter="set_emission_box_extents" getter="get_emission_box_extents">
 			The box's extents if [member emission_shape] is set to [constant EMISSION_SHAPE_BOX].
+			[b]Note:[/b] [member emission_box_extents] starts from the center point and applies the X, Y, and Z values in both directions. The size is twice the area of the extents.
 		</member>
 		<member name="emission_color_texture" type="Texture2D" setter="set_emission_color_texture" getter="get_emission_color_texture">
 			Particle color will be modulated by color determined by sampling this texture at the same point as the [member emission_point_texture].