reckfellENGINE

VoxelBlockyType

A Reckfell C# SDK type.

On this page
class VoxelBlockyTypeReckfellSharpInherits Resource

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

VoxelBlockyTypeConstructor
# VoxelBlockyType
C#
public VoxelBlockyType();

Properties4

AttributesProperty
# Attributes
C#
public Reckfell.Collections.Array<VoxelBlockyAttribute> Attributes { get; set; }
BaseModelProperty
# BaseModel
C#
public VoxelBlockyModel BaseModel { get; set; }
UniqueNameProperty
# UniqueName
C#
public StringName UniqueName { get; set; }
_VariantModelsDataProperty
# _VariantModelsData
C#
public Reckfell.Collections.Array _VariantModelsData { get; set; }

Methods8

GetAttributesReckfell.Collections.Array<VoxelBlockyAttribute>
# GetAttributes
C#
public Reckfell.Collections.Array<VoxelBlockyAttribute> GetAttributes();
Returns Reckfell.Collections.Array<VoxelBlockyAttribute>
GetBaseModelVoxelBlockyModel
# GetBaseModel
C#
public VoxelBlockyModel GetBaseModel();
Returns VoxelBlockyModel
GetRotationAttributeVoxelBlockyAttribute
# GetRotationAttribute
C#
public VoxelBlockyAttribute GetRotationAttribute();
Returns VoxelBlockyAttribute
GetUniqueNameStringName
# GetUniqueName
C#
public StringName GetUniqueName();
Returns StringName
SetAttributesvoid
# SetAttributes
C#
public void SetAttributes(Reckfell.Collections.Array<VoxelBlockyAttribute> attributes);
Parameters
NameTypeDefault
attributesReckfell.Collections.Array<VoxelBlockyAttribute>—
SetBaseModelvoid
# SetBaseModel
C#
public void SetBaseModel(VoxelBlockyModel model);
Parameters
NameTypeDefault
modelVoxelBlockyModel—
SetUniqueNamevoid
# SetUniqueName
C#
public void SetUniqueName(StringName name);
Parameters
NameTypeDefault
nameStringName—
SetVariantModelvoid
# SetVariantModel
C#
public void SetVariantModel(Reckfell.Collections.Array key, VoxelBlockyModel model);

Explicitely sets which model to use for a given combination of attributes (key). If you have attributes that automatically generate variants (such as rotations), you are expected to only set models for the default value of such attributes. Other models will not be preserved. This is because the default value will be used as a reference to generate the other models.

Parameters
NameTypeDefault
keyReckfell.Collections.Array—
modelVoxelBlockyModel—

Fields and constants1

MaxAttributesField
# MaxAttributes
C#
public const long MaxAttributes = 4;
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.