Click or drag to resize

VisualServerInstanceAttachObjectInstanceId Method

Attaches a unique Object ID to instance. Object ID must be attached to instance for proper culling with InstancesCullAabb(AABB, RID), InstancesCullConvex(Array, RID), and InstancesCullRay(Vector3, Vector3, RID).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void InstanceAttachObjectInstanceId(
	RID instance,
	ulong id
)

Parameters

instance
Type: GodotRID

[Missing <param name="instance"/> documentation for "M:Godot.VisualServer.InstanceAttachObjectInstanceId(Godot.RID,System.UInt64)"]

id
Type: SystemUInt64

[Missing <param name="id"/> documentation for "M:Godot.VisualServer.InstanceAttachObjectInstanceId(Godot.RID,System.UInt64)"]

See Also