SpatialMaterial

Inherits: Material < Resource < Reference < Object

Category: Core

Brief Description

Member Variables

Enums

enum DetailUV

  • DETAIL_UV_1 = 0
  • DETAIL_UV_2 = 1

enum TextureParam

  • 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

enum DepthDrawMode

  • DEPTH_DRAW_OPAQUE_ONLY = 0
  • DEPTH_DRAW_ALWAYS = 1
  • DEPTH_DRAW_DISABLED = 2
  • DEPTH_DRAW_ALPHA_OPAQUE_PREPASS = 3

enum DiffuseMode

  • DIFFUSE_BURLEY = 0
  • DIFFUSE_LAMBERT = 1
  • DIFFUSE_LAMBERT_WRAP = 2
  • DIFFUSE_OREN_NAYAR = 3
  • DIFFUSE_TOON = 4

enum CullMode

  • CULL_BACK = 0
  • CULL_FRONT = 1
  • CULL_DISABLED = 2

enum Feature

  • 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

enum Flags

  • 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_EMISSION_ON_UV2 = 11
  • FLAG_USE_ALPHA_SCISSOR = 12
  • FLAG_TRIPLANAR_USE_WORLD = 9
  • FLAG_ALBEDO_TEXTURE_FORCE_SRGB = 13
  • FLAG_DONT_RECEIVE_SHADOWS = 14
  • FLAG_MAX = 15

enum BlendMode

  • BLEND_MODE_MIX = 0
  • BLEND_MODE_ADD = 1
  • BLEND_MODE_SUB = 2
  • BLEND_MODE_MUL = 3

enum SpecularMode

  • SPECULAR_SCHLICK_GGX = 0
  • SPECULAR_BLINN = 1
  • SPECULAR_PHONG = 2
  • SPECULAR_TOON = 3
  • SPECULAR_DISABLED = 4

enum TextureChannel

  • TEXTURE_CHANNEL_RED = 0
  • TEXTURE_CHANNEL_GREEN = 1
  • TEXTURE_CHANNEL_BLUE = 2
  • TEXTURE_CHANNEL_ALPHA = 3
  • TEXTURE_CHANNEL_GRAYSCALE = 4

enum BillboardMode

  • BILLBOARD_DISABLED = 0
  • BILLBOARD_ENABLED = 1
  • BILLBOARD_FIXED_Y = 2
  • BILLBOARD_PARTICLES = 3

enum EmissionOperator

  • EMISSION_OP_ADD = 0
  • EMISSION_OP_MULTIPLY = 1