Click or drag to resize

VisualServerInstanceCreate Method

Creates a visual instance and adds it to the VisualServer. 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.

An instance is a way of placing a 3D object in the scenario. Objects like particles, meshes, and reflection probes need to be associated with an instance to be visible in the scenario using InstanceSetBase(RID, RID).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID InstanceCreate()

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.VisualServer.InstanceCreate"]

See Also