An interpolatable area, useful for locating characters moving between door thresholds.
More...
|
Bounds | GetAABB () |
| Returns the axis aligned bounding box for the threshold area. More...
|
|
Vector3 | InterpolatePosition (Vector3 parameters) |
| Returns the global position corresponding to the specified interpolation parameters. The interpolation parameters are clamped to [0, 1]. More...
|
|
Vector3 | ParameterizePosition (Vector3 position) |
| Returns the interpolation parameters corresponding to the specified global position. The interpolation parameters are clamped to [0, 1]. More...
|
|
|
Vector3 | Size [getset] |
| The size of the threshold area. More...
|
|
|
Vector3 | _size = Vector3.one |
|
An interpolatable area, useful for locating characters moving between door thresholds.
Definition at line 8 of file DoorThreshold.cs.
◆ GetAABB()
Returns the axis aligned bounding box for the threshold area.
Definition at line 36 of file DoorThreshold.cs.
◆ InterpolatePosition()
Vector3 InterpolatePosition |
( |
Vector3 |
parameters | ) |
|
Returns the global position corresponding to the specified interpolation parameters. The interpolation parameters are clamped to [0, 1].
- Parameters
-
parameters | The interpolation parameters. |
Definition at line 93 of file DoorThreshold.cs.
◆ OnDrawGizmos()
◆ OnValidate()
◆ ParameterizePosition()
Vector3 ParameterizePosition |
( |
Vector3 |
position | ) |
|
Returns the interpolation parameters corresponding to the specified global position. The interpolation parameters are clamped to [0, 1].
- Parameters
-
position | The global position. |
Definition at line 76 of file DoorThreshold.cs.
◆ _size
Vector3 _size = Vector3.one |
|
private |
◆ Size
The documentation for this class was generated from the following file: