API reference
API reference
Select your platform
No SDKs available
No versions available

SelectBlendedTransform Class

Extends MonoBehaviour, ITimeConsumer
Attach to a gameobject to have it's transform updated to match a source transform.
If the configured interactor starts selecting, the blend target transform is applied to the source transform following an Animation Curve.

Properties

Transform SourceTransform[Get]
Transform BlendTargetTransform[Get]
AnimationCurve BlendCurve[Get]
bool BlendRotation[Get]
bool BlendPosition[Get]

Member Functions

Sets a custom function that provides the current time in seconds.
Parameters
timeProvider
A delegate that returns the current time in seconds.
void OnEnable ( )
void OnDisable ( )
void Update ( )
void InjectAllSelectBlendedTransform
( IInteractor interactor )
void InjectInteractor
( IInteractor interactor )

Protected Functions

void Awake ( )
Did you find this page helpful?