New Types

Modified Types

AnimatedSprite

Documentation: 3.1.0, 3.1.1

Modified Members

 // public void Play(string anim = "")
    public void Play(string anim = "", bool backwards = false)

AnimationNodeStateMachine

Documentation: 3.1.0, 3.1.1

Modified Members

 // public void SetGraphOffset(Vector2 name)
    public void SetGraphOffset(Vector2 offset)

AStar

Documentation: 3.1.0, 3.1.1

New Members

    public bool IsPointDisabled(int id)
    public void SetPointDisabled(int id, bool disabled = true)

AudioServer

Documentation: 3.1.0, 3.1.1

New Members

    public static AudioEffectInstance GetBusEffectInstance(int busIdx, int effectIdx, int channel = 0)

AudioStreamPlayer

Documentation: 3.1.0, 3.1.1

New Members

    public AudioStreamPlayback GetStreamPlayback()

AudioStreamPlayer2D

Documentation: 3.1.0, 3.1.1

New Members

    public AudioStreamPlayback GetStreamPlayback()

AudioStreamPlayer3D

Documentation: 3.1.0, 3.1.1

New Members

    public AudioStreamPlayback GetStreamPlayback()

File

Documentation: 3.1.0, 3.1.1

Modified Members

 // public object GetVar()
    public object GetVar(bool allowObjects = false)
 // public void StoreVar(object value)
    public void StoreVar(object value, bool fullObjects = false)

GD

Documentation: 3.1.0, 3.1.1

Modified Members

 // public static object Bytes2Var(byte[] bytes)
    public static object Bytes2Var(byte[] bytes, bool allow_objects = false)
 // public static object Convert(object what, int type)
    public static object Convert(object what, Variant.Type type)
 // public static byte[] Var2Bytes(object var)
    public static byte[] Var2Bytes(object var, bool full_objects = false)

Line2D

Documentation: 3.1.0, 3.1.1

New Members

    public void ClearPoints()

Marshalls

Documentation: 3.1.0, 3.1.1

Modified Members

 // public static object Base64ToVariant(string base64Str)
    public static object Base64ToVariant(string base64Str, bool allowObjects = false)
 // public static string VariantToBase64(object variant)
    public static string VariantToBase64(object variant, bool fullObjects = false)

Mathf

Documentation: 3.1.0, 3.1.1

New Members

    public static float SmoothStep(float from, float to, float weight)

MobileVRInterface

Documentation: 3.1.0, 3.1.1

New Members

    public float EyeHeight { get; set; }
    public float GetEyeHeight()
    public void SetEyeHeight(float eyeHeight)

MultiMesh

Documentation: 3.1.0, 3.1.1

New Members

    public int GetVisibleInstanceCount()
    public void SetVisibleInstanceCount(int count)
    public int VisibleInstanceCount { get; set; }

MultiplayerAPI

Documentation: 3.1.0, 3.1.1

New Members

    public bool AllowObjectDecoding { get; set; }
    public bool IsObjectDecodingAllowed()
    public void SetAllowObjectDecoding(bool enable)

PacketPeer

Documentation: 3.1.0, 3.1.1

Modified Members

 // public object GetVar()
    public object GetVar(bool allowObjects = false)
 // public Error PutVar(object var)
    public Error PutVar(object var, bool fullObjects = false)

RandomNumberGenerator

Documentation: 3.1.0, 3.1.1

New Members

    public float Randfn(float mean = 0f, float deviation = 1f)

StreamPeer

Documentation: 3.1.0, 3.1.1

Modified Members

 // public object GetVar()
    public object GetVar(bool allowObjects = false)
 // public void PutVar(object value)
    public void PutVar(object value, bool fullObjects = false)

Tween

Documentation: 3.1.0, 3.1.1

New Signals

    "tween_all_completed" ()

Vector2

Documentation: 3.1.0, 3.1.1

New Members

    public Vector2 DirectionTo(Vector2 b)

Vector3

Documentation: 3.1.0, 3.1.1

New Members

    public Vector3 DirectionTo(Vector3 b)

VisualInstance

Documentation: 3.1.0, 3.1.1

New Members

    public RID GetBase()
    public RID GetInstance()

VisualScriptBuiltinFunc.BuiltinFunc

Documentation: 3.1.0, 3.1.1

New Members

    public const BuiltinFunc MathSmoothstep
Tags: