LTDescr.setMoveCurved C# (CSharp) Method

setMoveCurved() public method

public setMoveCurved ( ) : LTDescr
return LTDescr
    public LTDescr setMoveCurved()
    {
        this.type = TweenAction.MOVE_CURVED;
        this.initInternal = this.initFromInternal;
        this.easeInternal = ()=>{
            newVect = easeMethod();
            val = newVect.x;
            if(this._optional.path.orientToPath){
                if(this._optional.path.orientToPath2d){
                    this._optional.path.place2d( trans, val );
                }else{
                    this._optional.path.place( trans, val );
                }
            }else{
                trans.position = this._optional.path.point( val );
            }
        };
        return this;
    }
LTDescr