getGodotObject

Get the C++ Godot Object pointer of either a Godot Object OR a D native script.

Useful for generic code.

  1. GodotClass!T getGodotObject(T t)
    @nogc nothrow
    getGodotObject
    (
    T
    )
    (
    in T t
    )
  2. GodotClass!(NonRef!R) getGodotObject(R r)

Meta