API ReferenceShadowfloorcomponentOncollisioncallbackShadowFloorComponent.onCollisionCallback property The callback function called when a collision occurs. Signature: onCollisionCallback: (player: any, collision: any) => void;