VisualShaderNodeTexture
继承
简要描述
描述
成员
类型 | 属性名 | 默认值 |
---|---|---|
int | source | 0 |
Texture | texture | |
int | texture_type | 0 |
枚举
enum Source:
- **SOURCE_TEXTURE = 0**
- **SOURCE_SCREEN = 1**
- **SOURCE_2D_TEXTURE = 2**
- **SOURCE_2D_NORMAL = 3**
- **SOURCE_DEPTH = 4**
- **SOURCE_PORT = 5**
enum TextureType:
- **TYPE_DATA = 0**
- **TYPE_COLOR = 1**
- **TYPE_NORMALMAP = 2**
成员说明
- int source
Default | 0 |
---|---|
setter | set_source(value) |
getter | get_source |
- Texture texture
setter | set_texture(value) |
---|---|
getter | get_texture |
- int texture_type
Default | 0 |
---|---|
setter | set_texture_type(value) |
getter | get_texture_type |