RaTweening 1.0.0
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
RaTweening.RaVector3Options Class Reference

This Util class hold the tools to exclude various axes in 3D space from tweening calculations More...

Public Types

enum  Axis
 Flag based enum representing 3D Axis
 

Static Public Member Functions

static Axis GetOnlyIncludeAxes (Axis inclAxes)
 Returns a Axis which only contains the Axes which are not defined within the input More...
 
static Vector3 ApplyExcludeAxes (Vector3 original, Vector3 final, Axis excludeAxes)
 Resets the final result to the original Vector based on which Axes are to be excluded from the final calculation More...
 

Detailed Description

This Util class hold the tools to exclude various axes in 3D space from tweening calculations

Member Function Documentation

◆ ApplyExcludeAxes()

static Vector3 RaTweening.RaVector3Options.ApplyExcludeAxes ( Vector3  original,
Vector3  final,
Axis  excludeAxes 
)
static

Resets the final result to the original Vector based on which Axes are to be excluded from the final calculation

Parameters
originalThe original value
finalThe final value
excludeAxesThe axes which should be reset to the original value within the final value
Returns
The new final value

◆ GetOnlyIncludeAxes()

static Axis RaTweening.RaVector3Options.GetOnlyIncludeAxes ( Axis  inclAxes)
static

Returns a Axis which only contains the Axes which are not defined within the input

Parameters
inclAxesInput which Axes not to define
Returns
The value of all Axes excluding the input