Godot Quickstart Integration
These guides provide a fast, step-by-step path to integrating WireSyndicate placements into your Godot project.
WS Placement Dynamic (2D Texture Injector)
No Account Required: You can test this immediately using our public demo placement.
This is the simplest way to inject a 2D ad texture into a single material on a single MeshInstance3D.
- Install Plugin: Install the Godot SDK plugin into your
addons/directory and enable it in Project Settings. - Initialize: The
WireSyndicateCoreAutoload is injected automatically. - Configure Network Key: In your
_ready()function or main startup script, set your key and authenticate:WireSyndicate.network_key = "demo" # Or your actual Org ID WireSyndicate.authenticate(WireSyndicate.network_key) - Add Placement Node: Add a
WSPlacementNodeto your scene. - Configure Placement: In the inspector for the node:
- Set the Placement ID to
22222222-2222-2222-2222-222222222222(or your actual Placement ID). - Assign the Target Path to a valid
MeshInstance3Din your scene.
- Set the Placement ID to
- Run: Press Play. The node will authenticate and stream the texture directly onto your geometry.
Global Texture Injection: WS Shared Material Node
Account Required: This requires a valid Developer Account and telemetry configuration.
The Shared Material Node approach allows you to inject an ad texture into a globally shared Godot StandardMaterial3D or ShaderMaterial, updating all instances simultaneously.
- Initialize: Ensure your
WireSyndicate.network_keyis set to your actual Org ID and you have calledWireSyndicate.authenticate(). - Add Shared Node: Add a
WSSharedMaterialNodeto your scene tree. - Configure Placement: Set your Placement ID in the inspector.
- Assign Target Material: Assign your project's target
Materialresource in the inspector slot. - Upload Spatial Data (Important):
- Run the Godot
WS Transform Exportertool to generate yourtransforms.jsonfile containing all the positions of objects using this material. - Upload this JSON file to the Placement in your Developer Dashboard.
- Run the Godot
- Run: Press Play. The SDK will inject the texture into the global material, updating all instances simultaneously while tracking telemetry for the uploaded transforms.
WS Placement 3D (AssetBundles/PCK)
Account Required: This requires a valid Developer Account and an active 3D campaign payload.
Use this to dynamically load and spawn full 3D models (Godot scenes from PCKs) into your scene.
- Initialize: Ensure your
WireSyndicate.network_keyis set to your valid Org ID. - Add 3D Node: Add a
WSPlacement3Dnode to your scene that will act as the spawn point anchor. - Configure Placement: Set your Placement ID in the inspector.
- Run: Press Play. The SDK will download the payload and spawn the 3D scene as a child of your anchor node.