Class DecorFlags
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class DecorFlags
- Inheritance
-
DecorFlags
- Inherited Members
- Extension Methods
Fields
AlternateZOffset
If true, alternates z-offset vertexflag by 1 in odd/even XZ positions to reduce z-fighting (used e.g. for medium carpets overlaying neighbours)
public const int AlternateZOffset = 4
Field Value
DrawIfCulled
If true, do not cull even if parent face was culled (used e.g. for medium carpet, which stick out beyond the parent face)
public const int DrawIfCulled = 2
Field Value
HasSidedVariants
If true, this decor is removable using the players hands, without breaking the parent block
public const int HasSidedVariants = 32
Field Value
IsDecor
Set to 1 for all decor blocks, or else they will not be rendered. (This intentionally prevents unloaded / unknown decor blocks from rendering)
public const int IsDecor = 1
Field Value
NotFullFace
IF true, this decor is NOT (at least) a full opaque face so that the parent block face still needs to be drawn
public const int NotFullFace = 8
Field Value
Removable
If true, this decor is removable using the players hands, without breaking the parent block
public const int Removable = 16