Decal

Inherits: VisualInstance3D < Node3D < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

float

albedo_mix

1.0

int

cull_mask

1048575

float

distance_fade_begin

40.0

bool

distance_fade_enabled

false

float

distance_fade_length

10.0

float

emission_energy

1.0

float

lower_fade

0.3

Color

modulate

Color(1, 1, 1, 1)

float

normal_fade

0.0

Vector3

size

Vector3(2, 2, 2)

Texture2D

texture_albedo

Texture2D

texture_emission

Texture2D

texture_normal

Texture2D

texture_orm

float

upper_fade

0.3

Methods

Texture2D

get_texture ( DecalTexture type ) const

void

set_texture ( DecalTexture type, Texture2D texture )


Enumerations

enum DecalTexture:

DecalTexture TEXTURE_ALBEDO = 0

There is currently no description for this enum. Please help us by contributing one!

DecalTexture TEXTURE_NORMAL = 1

There is currently no description for this enum. Please help us by contributing one!

DecalTexture TEXTURE_ORM = 2

There is currently no description for this enum. Please help us by contributing one!

DecalTexture TEXTURE_EMISSION = 3

There is currently no description for this enum. Please help us by contributing one!

DecalTexture TEXTURE_MAX = 4

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

float albedo_mix = 1.0

  • void set_albedo_mix ( float value )

  • float get_albedo_mix ( )

There is currently no description for this property. Please help us by contributing one!


int cull_mask = 1048575

  • void set_cull_mask ( int value )

  • int get_cull_mask ( )

There is currently no description for this property. Please help us by contributing one!


float distance_fade_begin = 40.0

  • void set_distance_fade_begin ( float value )

  • float get_distance_fade_begin ( )

There is currently no description for this property. Please help us by contributing one!


bool distance_fade_enabled = false

  • void set_enable_distance_fade ( bool value )

  • bool is_distance_fade_enabled ( )

There is currently no description for this property. Please help us by contributing one!


float distance_fade_length = 10.0

  • void set_distance_fade_length ( float value )

  • float get_distance_fade_length ( )

There is currently no description for this property. Please help us by contributing one!


float emission_energy = 1.0

  • void set_emission_energy ( float value )

  • float get_emission_energy ( )

There is currently no description for this property. Please help us by contributing one!


float lower_fade = 0.3

  • void set_lower_fade ( float value )

  • float get_lower_fade ( )

There is currently no description for this property. Please help us by contributing one!


Color modulate = Color(1, 1, 1, 1)

  • void set_modulate ( Color value )

  • Color get_modulate ( )

There is currently no description for this property. Please help us by contributing one!


float normal_fade = 0.0

  • void set_normal_fade ( float value )

  • float get_normal_fade ( )

There is currently no description for this property. Please help us by contributing one!


Vector3 size = Vector3(2, 2, 2)

There is currently no description for this property. Please help us by contributing one!


Texture2D texture_albedo

There is currently no description for this property. Please help us by contributing one!


Texture2D texture_emission

There is currently no description for this property. Please help us by contributing one!


Texture2D texture_normal

There is currently no description for this property. Please help us by contributing one!


Texture2D texture_orm

There is currently no description for this property. Please help us by contributing one!


float upper_fade = 0.3

  • void set_upper_fade ( float value )

  • float get_upper_fade ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

Texture2D get_texture ( DecalTexture type ) const

There is currently no description for this method. Please help us by contributing one!


void set_texture ( DecalTexture type, Texture2D texture )

There is currently no description for this method. Please help us by contributing one!