User Tools

Site Tools


voxels_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
voxels_format [2018/09/10 11:55]
gobrosse [Built-in configurable properties]
voxels_format [2018/09/10 12:04]
gobrosse [Built-in configurable properties]
Line 39: Line 39:
  
 | Property | Type/Range | Description | | Property | Type/Range | Description |
-  * solid Is this voxel solid in the physics engine sense +solid | Boolean | Is this voxel solid in the physics engine sense | 
-  ​* ​opaque ​Is this voxel '​full'​ and so blocks lights and cull neighbours ? +opaque ​| Boolean | Is this voxel '​full'​ and so blocks lights and cull neighbours ? | 
-  ​* ​selfOpaque ​If this voxel is not "​opaque",​ does it connects with others voxels of the same type ? (ie glass or water) +selfOpaque ​| Boolean | If this voxel is not "​opaque",​ does it connects with others voxels of the same type ? (ie glass or water) ​| 
-  ​* ​material ​: Defines ​the [[materials|Material]] used by this voxel type +material ​| String | References ​the [[materials|VoxelMaterial]] used by this voxel type | 
-  ​* ​emittedLightLevel0..15The light level the block emmits +emittedLightLevel ​| Int in 0..15 The light level the block emmits ​| 
-  ​* ​shadingLightLevel0..15How much, on top of the normal attenuation,​ does the light level of light passing through this block is reduced +shadingLightLevel ​| Int in 0..15 |How much, on top of the normal attenuation,​ does the light level of light passing through this block is reduced ​| 
-  ​* ​texture ​Sets the texture used by this voxel, by default it just looks for the voxel name instead. For more information check out the page on [[VoxelTextures|Voxel textures]]. +texture ​| String | Sets the texture used by this voxel, by default it just looks for the voxel name instead. For more information check out the page on [[VoxelTextures|Voxel textures]]. ​| 
-  ​* ​textures ​Define each side's texture independently. +textures ​| Compound property | Define each side's texture independently. ​| 
-  ​* ​collisionBox ​Defines the collision box for this voxel. To have voxels with more than one collision box, you have to use a custom class. +collisionBox ​| Parameters for a Box() | Defines the collision box for this voxel. To have voxels with more than one collision box, you have to use a custom class. ​| 
-  ​* ​classIf provided, the game will try to use a [[Voxel.class|custom class]] for this voxel.+class | String | If provided, the game will try to use a [[Voxel.class|custom class]] for this voxel. ​|
  
 ## The voxels/​textures folder ## The voxels/​textures folder
voxels_format.txt · Last modified: 2018/09/10 12:04 by gobrosse