trySetDirectionMagnitudeInPlace Method
Try to scale the direction vector to a given magnitude.
- Returns falseif the ray direction is a zero vector.
trySetDirectionMagnitudeInPlace(magnitude: number1.0): boolean
| Parameter | Type | Description | 
|---|---|---|
| magnitude | number | 
Returns - boolean
Defined in
- geometry3d/Ray3d.ts Line 301
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.