Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/gfx3d/lighting.js

  • Provides:

    • dojox.gfx3d.lighting
  • Requires:

    • dojox.gfx._base in common
  • dojox.gfx3d.lighting.black

    • type
      Function
  • dojox.gfx3d.lighting.white

    • type
      Function
  • dojox.gfx3d.lighting.toStdColor

    • parameters:
      • c
    • type
      Function
  • dojox.gfx3d.lighting.fromStdColor

    • parameters:
      • c
    • type
      Function
  • dojox.gfx3d.lighting.scaleColor

    • parameters:
      • s
      • c
    • type
      Function
  • dojox.gfx3d.lighting.addColor

    • parameters:
      • a
      • b
    • type
      Function
  • dojox.gfx3d.lighting.multiplyColor

    • parameters:
      • a
      • b
    • type
      Function
  • dojox.gfx3d.lighting.saturateColor

    • parameters:
      • c
    • type
      Function
  • dojox.gfx3d.lighting.mixColor

    • parameters:
      • c1
      • c2
      • s
    • type
      Function
  • dojox.gfx3d.lighting.diff2Color

    • parameters:
      • c1
      • c2
    • type
      Function
  • dojox.gfx3d.lighting.length2Color

    • parameters:
      • c
    • type
      Function
  • dojox.gfx3d.lighting.dot

    • parameters:
      • a
      • b
    • type
      Function
  • dojox.gfx3d.lighting.scale

    • parameters:
      • s
      • v
    • type
      Function
  • dojox.gfx3d.lighting.add

    • parameters:
      • a
      • b
    • type
      Function
  • dojox.gfx3d.lighting.saturate

    • parameters:
      • v
    • type
      Function
  • dojox.gfx3d.lighting.length

    • parameters:
      • v
    • type
      Function
  • dojox.gfx3d.lighting.normalize

    • parameters:
      • v
    • type
      Function
  • dojox.gfx3d.lighting.faceforward

    • parameters:
      • n
      • i
    • type
      Function
  • dojox.gfx3d.lighting.reflect

    • parameters:
      • i
      • n
    • type
      Function
  • dojox.gfx3d.lighting.diffuse

    • parameters:
      • normal
      • lights
    • type
      Function
  • dojox.gfx3d.lighting.specular

    • parameters:
      • normal
      • v
      • roughness
      • lights
    • type
      Function
  • dojox.gfx3d.lighting.phong

    • parameters:
      • normal
      • v
      • size
      • lights
    • type
      Function
  • dojox.gfx3d.lighting.Model

    • type
      Function
    • parameters:
      • incident
      • lights
      • ambient
      • specular
  • dojox.gfx3d.lighting.Model.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • incident
      • lights
      • ambient
      • specular
  • dojox.gfx3d.lighting.Model.constant

    • parameters:
      • normal
      • finish
      • pigment
    • type
      Function
  • dojox.gfx3d.lighting.Model.matte

    • parameters:
      • normal
      • finish
      • pigment
    • type
      Function
  • dojox.gfx3d.lighting.Model.metal

    • parameters:
      • normal
      • finish
      • pigment
    • type
      Function
  • dojox.gfx3d.lighting.Model.plastic

    • parameters:
      • normal
      • finish
      • pigment
    • type
      Function
  • dojox.gfx3d.lighting.Model.npr

    • parameters:
      • normal
      • finish
      • pigment
    • type
      Function
  • dojox.gfx3d.lighting.Model.incident

    • type
      Object
  • dojox.gfx3d.lighting.Model.lights

    • type
      Array
  • dojox.gfx3d.lighting.Model.ambient

    • type
      Object
  • dojox.gfx3d.lighting.Model.ambient.a

    • type
      Number
  • dojox.gfx3d.lighting.Model.specular

    • type
      Object
  • dojox.gfx3d.lighting.Model.specular.a

    • type
      Number
  • dojox.gfx3d.lighting.Model.npr_cool

    • type
      Object
  • dojox.gfx3d.lighting.Model.npr_warm

    • type
      Object
  • dojox.gfx3d.lighting.Model.npr_alpha

    • type
      Number
  • dojox.gfx3d.lighting.Model.npr_beta

    • type
      Number
  • dojox.gfx3d.lighting.Model.npr_scale

    • type
      Number
  • dojox.gfx3d.lighting

    • alias - dojox.gfx3d.lighting
  • dojox.gfx3d.lighting.finish

    • type
      Object
  • dojox.gfx3d.lighting.finish.defaults

    • type
      Object
  • dojox.gfx3d.lighting.finish.defaults.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.defaults.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.defaults.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.defaults.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.dull

    • type
      Object
  • dojox.gfx3d.lighting.finish.dull.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.dull.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.dull.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.dull.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.shiny

    • type
      Object
  • dojox.gfx3d.lighting.finish.shiny.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.shiny.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.shiny.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.shiny.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.glossy

    • type
      Object
  • dojox.gfx3d.lighting.finish.glossy.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.glossy.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.glossy.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.glossy.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_dull

    • type
      Object
  • dojox.gfx3d.lighting.finish.phong_dull.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_dull.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_dull.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_dull.phong

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_dull.phong_size

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_shiny

    • type
      Object
  • dojox.gfx3d.lighting.finish.phong_shiny.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_shiny.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_shiny.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_shiny.phong

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_shiny.phong_size

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_glossy

    • type
      Object
  • dojox.gfx3d.lighting.finish.phong_glossy.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_glossy.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_glossy.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_glossy.phong

    • type
      Number
  • dojox.gfx3d.lighting.finish.phong_glossy.phong_size

    • type
      Number
  • dojox.gfx3d.lighting.finish.luminous

    • type
      Object
  • dojox.gfx3d.lighting.finish.luminous.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.luminous.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.luminous.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.luminous.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalA

    • type
      Object
  • dojox.gfx3d.lighting.finish.metalA.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalA.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalA.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalA.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalB

    • type
      Object
  • dojox.gfx3d.lighting.finish.metalB.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalB.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalB.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalB.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalC

    • type
      Object
  • dojox.gfx3d.lighting.finish.metalC.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalC.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalC.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalC.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalD

    • type
      Object
  • dojox.gfx3d.lighting.finish.metalD.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalD.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalD.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalD.roughness

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalE

    • type
      Object
  • dojox.gfx3d.lighting.finish.metalE.Ka

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalE.Kd

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalE.Ks

    • type
      Number
  • dojox.gfx3d.lighting.finish.metalE.roughness

    • type
      Number
  • dojox.gfx3d

    • type
      Object
  • dojox

    • type
      Object