MathNode.d.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import { TempNode } from '../core/TempNode';
  2. import { NodeBuilder } from '../core/NodeBuilder';
  3. import { Node } from '../core/Node';
  4. export class MathNode extends TempNode {
  5. constructor( a: Node, bOrMethod: Node | string, cOrMethod?: Node | string, method?: string );
  6. a: Node;
  7. b: Node | string | undefined;
  8. c: Node | string | undefined;
  9. method: string;
  10. nodeType: string;
  11. getNumInputs( builder: NodeBuilder ): number;
  12. getInputType( builder: NodeBuilder ): string;
  13. copy( source: MathNode ): this;
  14. static RAD: string;
  15. static DEG: string;
  16. static EXP: string;
  17. static EXP2: string;
  18. static LOG: string;
  19. static LOG2: string;
  20. static SQRT: string;
  21. static INV_SQRT: string;
  22. static FLOOR: string;
  23. static CEIL: string;
  24. static NORMALIZE: string;
  25. static SATURATE: string;
  26. static SIN: string;
  27. static COS: string;
  28. static TAN: string;
  29. static ASIN: string;
  30. static ACOS: string;
  31. static ARCTAN: string;
  32. static ABS: string;
  33. static SIGN: string;
  34. static LENGTH: string;
  35. static NEGATE: string;
  36. static INVERT: string;
  37. static MIN: string;
  38. static MAX: string;
  39. static MOD: string;
  40. static STEP: string;
  41. static REFLECT: string;
  42. static DISTANCE: string;
  43. static DOT: string;
  44. static CROSS: string;
  45. static POW: string;
  46. static MIX: string;
  47. static CLAMP: string;
  48. static REFRACT: string;
  49. static SMOOTHSTEP: string;
  50. static FACEFORWARD: string;
  51. }