Class SoTangentCache

All Implemented Interfaces:
SafeDisposable

public class SoTangentCache extends SoCache
Class SoTangentCache: A tangent cache stores a list of tangents.
  • Constructor Details

    • SoTangentCache

      public SoTangentCache(SoState state)
  • Method Details

    • set

      public void set(SbVec3f[] tangents, SoTangentBindingElement.Bindings tangentBinding)
      Calls set(tangents, tangentBinding, (int)0).
    • getDirectTangents

      public FloatBuffer getDirectTangents()
      Returns the list of tangents in the cache .
    • getStartIndex

      public int getStartIndex()
      Returns the startIndex offset in the cache.
    • getTangents

      public SbVec3f[] getTangents()
      Returns the list of tangents in the cache .
    • getNum

      public int getNum()
      Returns the number of tangents in the cache.
    • getTangentBinding

      public SoTangentBindingElement.Bindings getTangentBinding()
      Returns the tangent binding in the cache.
    • set

      public void set(SbVec3f[] tangents, SoTangentBindingElement.Bindings tangentBinding, int startIndex)
      Stores a list of tangents in the cache .