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

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

Public Types

enum  Axis
 Flag based enum representing 4D 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 Vector4 ApplyExcludeAxes (Vector4 original, Vector4 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 4D space from tweening calculations

Member Function Documentation

◆ ApplyExcludeAxes()

static Vector4 RaTweening.RaVector4Options.ApplyExcludeAxes ( Vector4  original,
Vector4  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.RaVector4Options.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