nodeMaterialBlockConnectionPointTypes.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * Defines the kind of connection point for node based material
  3. */
  4. export enum NodeMaterialBlockConnectionPointTypes {
  5. /** Float */
  6. Float = 1,
  7. /** Int */
  8. Int = 2,
  9. /** Vector2 */
  10. Vector2 = 4,
  11. /** Vector3 */
  12. Vector3 = 8,
  13. /** Vector4 */
  14. Vector4 = 16,
  15. /** Color3 */
  16. Color3 = 32,
  17. /** Color4 */
  18. Color4 = 64,
  19. /** Matrix */
  20. Matrix = 128,
  21. /** Texture */
  22. Texture = 256,
  23. /** Texture3D */
  24. Texture3D = 512,
  25. /** Vector3 or Color3 */
  26. Vector3OrColor3 = Vector3 | Color3,
  27. /** Vector3 or Vector4 */
  28. Vector3OrVector4 = Vector3 | Vector4,
  29. /** Vector4 or Color4 */
  30. Vector4OrColor4 = Vector4 | Color4,
  31. /** Color3 or Color4 */
  32. Color3OrColor4 = Color3 | Color4,
  33. /** Vector3 or Color3 */
  34. Vector3OrColor3OrVector4OrColor4 = Vector3 | Color3 | Vector4 | Color4,
  35. /** Detect type based on connection */
  36. AutoDetect = 1024,
  37. /** Output type that will be defined by input type */
  38. BasedOnInput = 2048,
  39. /** Light */
  40. Light = 4096
  41. }