Photon.Pun.Demo.Procedural Namespace Reference
Classes | |
class | Block |
The Block component is attach to each instantiated Block at runtime. It provides the Block's ID as well as the parent's Cluster ID in order to apply modifications. More... | |
class | Cluster |
The Cluster component has references to all Blocks that are part of this Cluster. It provides functions for modifying single Blocks inside this Cluster. It also handles modifications made to the world by other clients. More... | |
class | IngameControlPanel |
The Ingame Control Panel basically controls the WorldGenerator. It is only interactable for the current MasterClient in the room. More... | |
class | ProceduralController |
Simple Input Handler to control the camera. More... | |
class | WorldGenerator |
The World Generator creates a world based on four options the current MasterClient can set. These options are available on the Ingame Control Panel. If those options are confirmed by the current MasterClient, they will be stored in the Custom Room Properties to make them available on all clients. These options are: 1) a numerical Seed to make sure that each client generates the same world and to avoid Random functions and 'network-instantiate' everything 2) the World Size to describe how large the generated world should be 3) the Cluster Size to describe how many Blocks are inside each Cluster 4) the World Type to make the generated world appear in different 'looks'. More... | |
Enumerations | |
enum | WorldSize { WorldSize.Tiny = 16, WorldSize.Small = 32, WorldSize.Medium = 64, WorldSize.Large = 128 } |
Describes the Size of the World. A 'Tiny' world for example will be created with 16 x 16 Blocks. More... | |
enum | WorldType { WorldType.Flat = 4, WorldType.Standard = 8, WorldType.Mountain = 16 } |
Describes the type of the generated world. This basically influences the maximum height of a Block. More... | |
enum | ClusterSize { ClusterSize.Small = 4, ClusterSize.Medium = 16, ClusterSize.Large = 64 } |
Describes how many Blocks are part of one CLuster. Having a 'Small' ClusterSize increases the amount of Clusters being created, whereat generating a world with a 'Large' ClusterSize doesn't create that many Clusters. More... | |
Enumeration Type Documentation
◆ ClusterSize
|
strong |
◆ WorldSize
|
strong |
◆ WorldType
|
strong |
Describes the type of the generated world. This basically influences the maximum height of a Block.
Enumerator | |
---|---|
Flat | |
Standard | |
Mountain |