VisualServerInstanceCreate2 Method |
Creates a visual instance, adds it to the VisualServer, and sets both base and scenario. It can be accessed with the RID that is returned. This RID will be used in all instance_* VisualServer functions.
Once finished with your RID, you will want to free the RID using the VisualServer's FreeRid(RID) static method.
Namespace: Godot
public static RID InstanceCreate2( RID base, RID scenario )
[Missing <param name="base"/> documentation for "M:Godot.VisualServer.InstanceCreate2(Godot.RID,Godot.RID)"]
[Missing <param name="scenario"/> documentation for "M:Godot.VisualServer.InstanceCreate2(Godot.RID,Godot.RID)"]
[Missing <returns> documentation for "M:Godot.VisualServer.InstanceCreate2(Godot.RID,Godot.RID)"]