# Interface TreeRayCastCallback

public interface TreeRayCastCallback
callback for `DynamicTree`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `float`
  `raycastCallback(RayCastInput input, int nodeId)`

- ## Method Details

  - ### raycastCallback

    float raycastCallback(RayCastInput input, int nodeId)
    Parameters:
      `input` -
      `nodeId` -
    Returns:
      the fraction to the node