Hello, I’m currently studying the PointerDragBehavior file of BabylonJS and found the following predicate:
public validateDrag = (targetPosition: Vector3) => { return true; };
What is its purpose ? Does it only return true ?
Hello, I’m currently studying the PointerDragBehavior file of BabylonJS and found the following predicate:
public validateDrag = (targetPosition: Vector3) => { return true; };
What is its purpose ? Does it only return true ?
It always return true by default. The predicate is here for you to provide your own predicate if you want to filter which mesh can be dragged