mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
cf936ae0dd
GPUParticles attractors and collision are currently only available in 3D. Their 2D counterparts haven't been implemented yet, but they will use separate nodes.
36 lines
1.3 KiB
XML
36 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="GPUParticlesCollisionSDF3D" inherits="GPUParticlesCollision3D" version="4.0">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(1, 1, 1)">
|
|
</member>
|
|
<member name="resolution" type="int" setter="set_resolution" getter="get_resolution" enum="GPUParticlesCollisionSDF3D.Resolution" default="2">
|
|
</member>
|
|
<member name="texture" type="Texture3D" setter="set_texture" getter="get_texture">
|
|
</member>
|
|
<member name="thickness" type="float" setter="set_thickness" getter="get_thickness" default="1.0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="RESOLUTION_16" value="0" enum="Resolution">
|
|
</constant>
|
|
<constant name="RESOLUTION_32" value="1" enum="Resolution">
|
|
</constant>
|
|
<constant name="RESOLUTION_64" value="2" enum="Resolution">
|
|
</constant>
|
|
<constant name="RESOLUTION_128" value="3" enum="Resolution">
|
|
</constant>
|
|
<constant name="RESOLUTION_256" value="4" enum="Resolution">
|
|
</constant>
|
|
<constant name="RESOLUTION_512" value="5" enum="Resolution">
|
|
</constant>
|
|
<constant name="RESOLUTION_MAX" value="6" enum="Resolution">
|
|
</constant>
|
|
</constants>
|
|
</class>
|