summaryrefslogtreecommitdiff
path: root/modules/csg/doc_classes/CSGPolygon.xml
blob: 379c512d6af1b170a68a2a71ce1e3ec4ab5d2c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8" ?>
<class name="CSGPolygon" inherits="CSGPrimitive" category="Core" version="3.1">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
	</methods>
	<members>
		<member name="depth" type="float" setter="set_depth" getter="get_depth">
		</member>
		<member name="material" type="Material" setter="set_material" getter="get_material">
		</member>
		<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="CSGPolygon.Mode">
		</member>
		<member name="path_interval" type="float" setter="set_path_interval" getter="get_path_interval">
		</member>
		<member name="path_node" type="NodePath" setter="set_path_node" getter="get_path_node">
		</member>
		<member name="path_rotation" type="int" setter="set_path_rotation" getter="get_path_rotation" enum="CSGPolygon.PathRotation">
		</member>
		<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
		</member>
		<member name="smooth_faces" type="bool" setter="set_smooth_faces" getter="get_smooth_faces">
		</member>
		<member name="spin_degrees" type="float" setter="set_spin_degrees" getter="get_spin_degrees">
		</member>
		<member name="spin_sides" type="int" setter="set_spin_sides" getter="get_spin_sides">
		</member>
	</members>
	<constants>
		<constant name="MODE_DEPTH" value="0" enum="Mode">
		</constant>
		<constant name="MODE_SPIN" value="1" enum="Mode">
		</constant>
		<constant name="MODE_PATH" value="2" enum="Mode">
		</constant>
		<constant name="PATH_ROTATION_POLYGON" value="0" enum="PathRotation">
		</constant>
		<constant name="PATH_ROTATION_PATH" value="1" enum="PathRotation">
		</constant>
		<constant name="PATH_ROTATION_PATH_FOLLOW" value="2" enum="PathRotation">
		</constant>
	</constants>
</class>