Module imp3d

Class Turbulence

All Implemented Interfaces:
ChannelMap, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class Turbulence extends ChannelMapNode
See Also:
  • Field Details

  • Constructor Details

    • Turbulence

      public Turbulence()
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Node
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Node
      Returns:
      new instance of class of this node
    • getOctaves

      public int getOctaves()
    • setOctaves

      public void setOctaves(int value)
    • getNoiseRatio

      public float getNoiseRatio()
    • setNoiseRatio

      public void setNoiseRatio(float value)
    • getFrequencyRatio

      public float getFrequencyRatio()
    • setFrequencyRatio

      public void setFrequencyRatio(float value)
    • getAmount

      public Vector3f getAmount()
    • setAmount

      public void setAmount(Vector3f value)
    • getFloatValue

      public float getFloatValue(ChannelData data, int channel)
      Specified by:
      getFloatValue in interface ChannelMap
      Overrides:
      getFloatValue in class ChannelMapNode
    • accept

      public void accept(ChannelMapNodeVisitor visitor)
      Overrides:
      accept in class ChannelMapNode