Table of Contents

SetLookAt Method

Namespace
DG.Tweening
Assembly
DOTween.dll

SetLookAt(TweenerCore<Vector3, Path, PathOptions>, Vector3, Vector3?, Vector3?)

public static TweenerCore<Vector3, Path, PathOptions> SetLookAt(this TweenerCore<Vector3, Path, PathOptions> t, Vector3 lookAtPosition, Vector3? forwardDirection = null, Vector3? up = null)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
lookAtPosition Vector3
forwardDirection Vector3?
up Vector3?

Returns

TweenerCore<Vector3, Path, PathOptions>

SetLookAt(TweenerCore<Vector3, Path, PathOptions>, Vector3, bool)

public static TweenerCore<Vector3, Path, PathOptions> SetLookAt(this TweenerCore<Vector3, Path, PathOptions> t, Vector3 lookAtPosition, bool stableZRotation)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
lookAtPosition Vector3
stableZRotation bool

Returns

TweenerCore<Vector3, Path, PathOptions>

SetLookAt(TweenerCore<Vector3, Path, PathOptions>, Transform, Vector3?, Vector3?)

public static TweenerCore<Vector3, Path, PathOptions> SetLookAt(this TweenerCore<Vector3, Path, PathOptions> t, Transform lookAtTransform, Vector3? forwardDirection = null, Vector3? up = null)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
lookAtTransform Transform
forwardDirection Vector3?
up Vector3?

Returns

TweenerCore<Vector3, Path, PathOptions>

SetLookAt(TweenerCore<Vector3, Path, PathOptions>, Transform, bool)

public static TweenerCore<Vector3, Path, PathOptions> SetLookAt(this TweenerCore<Vector3, Path, PathOptions> t, Transform lookAtTransform, bool stableZRotation)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
lookAtTransform Transform
stableZRotation bool

Returns

TweenerCore<Vector3, Path, PathOptions>

SetLookAt(TweenerCore<Vector3, Path, PathOptions>, float, Vector3?, Vector3?)

public static TweenerCore<Vector3, Path, PathOptions> SetLookAt(this TweenerCore<Vector3, Path, PathOptions> t, float lookAhead, Vector3? forwardDirection = null, Vector3? up = null)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
lookAhead float
forwardDirection Vector3?
up Vector3?

Returns

TweenerCore<Vector3, Path, PathOptions>

SetLookAt(TweenerCore<Vector3, Path, PathOptions>, float, bool)

public static TweenerCore<Vector3, Path, PathOptions> SetLookAt(this TweenerCore<Vector3, Path, PathOptions> t, float lookAhead, bool stableZRotation)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
lookAhead float
stableZRotation bool

Returns

TweenerCore<Vector3, Path, PathOptions>