valueof

 

Tag: values
Parent tag: material
Attributes:

  • uniform (string) – the name of the uniform variable in the shaders
  • type (enum) – The type of object to retrieve the value from. Possible values are {CAMERA, LIGHT, TEXTURE, PASS, CURRENT}
  • context (string) – The name of an object or CURRENT
  • component (enum) – The name of the field of the object
  • id (int) – When context is CURRENT and type is LIGHT, TEXTURE,

Child tags: none

Example

<values>
	<valueof ... />
	<valueof ... />
	...
	<valueof ... />
</values>