Main Page
Related Pages
Classes
Files
File List
scene
2d
path_texture.h
1
#ifndef PATH_TEXTURE_H
2
#define PATH_TEXTURE_H
3
4
#include "scene/2d/node_2d.h"
5
6
class
PathTexture
:
public
Node2D
{
7
OBJ_TYPE(
PathTexture
,
Node2D
);
8
9
Ref<Texture>
begin;
10
Ref<Texture>
repeat;
11
Ref<Texture>
end;
12
int
subdivs;
13
bool
overlap;
14
public
:
15
16
void
set_begin_texture(
const
Ref<Texture>
& p_texture);
17
Ref<Texture>
get_begin_texture()
const
;
18
19
void
set_repeat_texture(
const
Ref<Texture>
& p_texture);
20
Ref<Texture>
get_repeat_texture()
const
;
21
22
void
set_end_texture(
const
Ref<Texture>
& p_texture);
23
Ref<Texture>
get_end_texture()
const
;
24
25
void
set_subdivisions(
int
p_amount);
26
int
get_subdivisions()
const
;
27
28
void
set_overlap(
int
p_amount);
29
int
get_overlap()
const
;
30
31
PathTexture
();
32
};
33
34
#endif // PATH_TEXTURE_H
Ref< Texture >
PathTexture
Definition:
path_texture.h:6
Node2D
Definition:
node_2d.h:34
Generated on Wed Jul 13 2016 13:21:00 by
1.8.11