50 static void _bind_methods();
63 int get_point_count()
const;
65 void set_point_pos(
int p_index,
const Vector2& p_pos);
66 Vector2 get_point_pos(
int p_index)
const;
67 void set_point_in(
int p_index,
const Vector2& p_in);
68 Vector2 get_point_in(
int p_index)
const;
69 void set_point_out(
int p_index,
const Vector2& p_out);
70 Vector2 get_point_out(
int p_index)
const;
71 void remove_point(
int p_index);
73 Vector2 interpolate(
int p_index,
float p_offset)
const;
74 Vector2 interpolatef(real_t p_findex)
const;
76 void advance(real_t p_distance,
int &r_index, real_t &r_pos)
const;
77 void get_approx_position_from_offset(real_t p_offset,
int &r_index, real_t &r_pos,
int p_subdivs=16)
const;
105 mutable bool baked_cache_dirty;
107 mutable float baked_max_ofs;
114 void _bake_segment2d(
Map<float,Vector2>& r_bake,
float p_begin,
float p_end,
const Vector2& p_a,
const Vector2& p_out,
const Vector2& p_b,
const Vector2& p_in,
int p_depth,
int p_max_depth,
float p_tol)
const;
120 static void _bind_methods();
127 int get_point_count()
const;
129 void set_point_pos(
int p_index,
const Vector2& p_pos);
130 Vector2 get_point_pos(
int p_index)
const;
131 void set_point_in(
int p_index,
const Vector2& p_in);
132 Vector2 get_point_in(
int p_index)
const;
133 void set_point_out(
int p_index,
const Vector2& p_out);
134 Vector2 get_point_out(
int p_index)
const;
135 void remove_point(
int p_index);
137 Vector2 interpolate(
int p_index,
float p_offset)
const;
138 Vector2 interpolatef(real_t p_findex)
const;
141 void set_bake_interval(
float p_distance);
142 float get_bake_interval()
const;
145 float get_baked_length()
const;
146 Vector2 interpolate_baked(
float p_offset,
bool p_cubic=
false)
const;
149 Vector2Array tesselate(
int p_max_stages=5,
float p_tolerance=4)
const;
180 mutable bool baked_cache_dirty;
183 mutable float baked_max_ofs;
190 void _bake_segment3d(
Map<float,Vector3>& r_bake,
float p_begin,
float p_end,
const Vector3& p_a,
const Vector3& p_out,
const Vector3& p_b,
const Vector3& p_in,
int p_depth,
int p_max_depth,
float p_tol)
const;
196 static void _bind_methods();
203 int get_point_count()
const;
205 void set_point_pos(
int p_index,
const Vector3& p_pos);
206 Vector3 get_point_pos(
int p_index)
const;
207 void set_point_tilt(
int p_index,
float p_tilt);
208 float get_point_tilt(
int p_index)
const;
209 void set_point_in(
int p_index,
const Vector3& p_in);
210 Vector3 get_point_in(
int p_index)
const;
211 void set_point_out(
int p_index,
const Vector3& p_out);
212 Vector3 get_point_out(
int p_index)
const;
213 void remove_point(
int p_index);
215 Vector3 interpolate(
int p_index,
float p_offset)
const;
216 Vector3 interpolatef(real_t p_findex)
const;
219 void set_bake_interval(
float p_distance);
220 float get_bake_interval()
const;
223 float get_baked_length()
const;
224 Vector3 interpolate_baked(
float p_offset,
bool p_cubic=
false)
const;
225 float interpolate_baked_tilt(
float p_offset)
const;
229 Vector3Array tesselate(
int p_max_stages=5,
float p_tolerance=4)
const;
Definition: resource.h:89
Definition: dictionary.h:42