WorldProjectionSettings
class WorldProjectionSettings : Component()constructor(shard: rift.scripting.Shard)constructor(place: rift.scripting.GlobalScene)fun describe(boat: WorldProjection): String { val settings = boat.getComponent<WorldProjectionSettings>() return "${settings.sizeX * 8} by ${settings.sizeZ * 8} tiles of shard ${settings.targetShardId}"}targetShardId
Section titled “targetShardId”val targetShardId: Intval sizeX: Intval sizeZ: IntbaseZoneX
Section titled “baseZoneX”val baseZoneX: IntbaseZoneZ
Section titled “baseZoneZ”val baseZoneZ: IntactiveLevel
Section titled “activeLevel”val activeLevel: Intconfig
Section titled “config”var config: Intval shard: rift.scripting.Shard?var place: rift.scripting.GlobalScene?onComponentAddedToEntity
Section titled “onComponentAddedToEntity”override fun onComponentAddedToEntity()onComponentRemovedFromEntity
Section titled “onComponentRemovedFromEntity”override fun onComponentRemovedFromEntity()