S1MAPI
Construct structures with interiors, generate procedural meshes, and import 3D models at runtime. Designed for stability, performance, and seamless integration.
var building = new BuildingBuilder("MyShop")
.WithConfig(BuildingConfig.Medium)
.AddFloor()
.AddCeiling()
.AddWalls(southDoor: true, eastWindow: true)
.AddRoofTrim()
.AddLights(intensity: 1.2f)
.Build();
building.transform.position = new Vector3(100, 0, 50);
Core Capabilities
🏗️ Building Construction
A fluent, semantic API for generating buildings with walls, floors, roofs, and windows. Includes high-level builders for interiors like desks and shelves that automatically align with room geometry.
📦 GLTF Import
Native runtime GLTF/GLB loading support. Automatically handles coordinate system conversion, mesh processing, and texture mapping without external dependencies.
🛡️ Update Resilient
Engineered to survive game updates. S1MAPI abstracts direct Assembly-CSharp dependencies, keeping your mod functional across versions.
⚡ Optimized Core
Designed for performance with object pooling, deep cloning utilities, and efficient resource management for heavy construction tasks.