SpatialMaterial

Inherits: Material < Resource < Reference < Object

Category: Core

Brief Description

Member Variables

Numeric Constants

  • TEXTURE_ALBEDO = 0
  • TEXTURE_METALLIC = 1
  • TEXTURE_ROUGHNESS = 2
  • TEXTURE_EMISSION = 3
  • TEXTURE_NORMAL = 4
  • TEXTURE_RIM = 5
  • TEXTURE_CLEARCOAT = 6
  • TEXTURE_FLOWMAP = 7
  • TEXTURE_AMBIENT_OCCLUSION = 8
  • TEXTURE_DEPTH = 9
  • TEXTURE_SUBSURFACE_SCATTERING = 10
  • TEXTURE_TRANSMISSION = 11
  • TEXTURE_REFRACTION = 12
  • TEXTURE_DETAIL_MASK = 13
  • TEXTURE_DETAIL_ALBEDO = 14
  • TEXTURE_DETAIL_NORMAL = 15
  • TEXTURE_MAX = 16
  • DETAIL_UV_1 = 0
  • DETAIL_UV_2 = 1
  • FEATURE_TRANSPARENT = 0
  • FEATURE_EMISSION = 1
  • FEATURE_NORMAL_MAPPING = 2
  • FEATURE_RIM = 3
  • FEATURE_CLEARCOAT = 4
  • FEATURE_ANISOTROPY = 5
  • FEATURE_AMBIENT_OCCLUSION = 6
  • FEATURE_DEPTH_MAPPING = 7
  • FEATURE_SUBSURACE_SCATTERING = 8
  • FEATURE_TRANSMISSION = 9
  • FEATURE_REFRACTION = 10
  • FEATURE_DETAIL = 11
  • FEATURE_MAX = 12
  • BLEND_MODE_MIX = 0
  • BLEND_MODE_ADD = 1
  • BLEND_MODE_SUB = 2
  • BLEND_MODE_MUL = 3
  • DEPTH_DRAW_OPAQUE_ONLY = 0
  • DEPTH_DRAW_ALWAYS = 1
  • DEPTH_DRAW_DISABLED = 2
  • DEPTH_DRAW_ALPHA_OPAQUE_PREPASS = 3
  • CULL_BACK = 0
  • CULL_FRONT = 1
  • CULL_DISABLED = 2
  • FLAG_UNSHADED = 0
  • FLAG_USE_VERTEX_LIGHTING = 1
  • FLAG_DISABLE_DEPTH_TEST = 2
  • FLAG_ALBEDO_FROM_VERTEX_COLOR = 3
  • FLAG_SRGB_VERTEX_COLOR = 4
  • FLAG_USE_POINT_SIZE = 5
  • FLAG_FIXED_SIZE = 6
  • FLAG_UV1_USE_TRIPLANAR = 7
  • FLAG_UV2_USE_TRIPLANAR = 8
  • FLAG_AO_ON_UV2 = 10
  • FLAG_USE_ALPHA_SCISSOR = 11
  • FLAG_TRIPLANAR_USE_WORLD = 9
  • FLAG_ALBEDO_TEXTURE_FORCE_SRGB = 12
  • FLAG_MAX = 13
  • DIFFUSE_BURLEY = 0
  • DIFFUSE_LAMBERT = 1
  • DIFFUSE_LAMBERT_WRAP = 2
  • DIFFUSE_OREN_NAYAR = 3
  • DIFFUSE_TOON = 4
  • SPECULAR_SCHLICK_GGX = 0
  • SPECULAR_BLINN = 1
  • SPECULAR_PHONG = 2
  • SPECULAR_TOON = 3
  • SPECULAR_DISABLED = 4
  • BILLBOARD_DISABLED = 0
  • BILLBOARD_ENABLED = 1
  • BILLBOARD_FIXED_Y = 2
  • BILLBOARD_PARTICLES = 3
  • TEXTURE_CHANNEL_RED = 0
  • TEXTURE_CHANNEL_GREEN = 1
  • TEXTURE_CHANNEL_BLUE = 2
  • TEXTURE_CHANNEL_ALPHA = 3
  • TEXTURE_CHANNEL_GRAYSCALE = 4
  • EMISSION_OP_ADD = 0
  • EMISSION_OP_MULTIPLY = 1