UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

17 lines (16 loc) 444 B
import { CastingResult } from "./castingResult.js"; /** * Class representing a contact point produced in a shape cast */ export declare class ShapeCastResult extends CastingResult { private _hitFraction; /** * Gets the hit fraction along the casting ray */ get hitFraction(): number; /** * Sets the hit fraction along the casting ray * @param fraction */ setHitFraction(fraction: number): void; }