VoxelBlockyTypeLibrary
A Reckfell C# SDK type.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VoxelBlockyTypeLibraryConstructor
public VoxelBlockyTypeLibrary();Properties2
TypesProperty
public Reckfell.Collections.Array<VoxelBlockyType> Types { get; set; }_IdMapDataProperty
public string[] _IdMapData { get; set; }Methods12
GetModelIndexDefaultint
public int GetModelIndexDefault(StringName typeName);| Name | Type | Default |
|---|---|---|
typeName | StringName | — |
Returns
intGetModelIndexSingleAttributeint
public int GetModelIndexSingleAttribute(StringName typeName, Variant attribValue);| Name | Type | Default |
|---|---|---|
typeName | StringName | — |
attribValue | Variant | — |
Returns
intGetModelIndexWithAttributesint
public int GetModelIndexWithAttributes(StringName typeName, Reckfell.Collections.Dictionary attribsDict);| Name | Type | Default |
|---|---|---|
typeName | StringName | — |
attribsDict | Reckfell.Collections.Dictionary | — |
Returns
intGetTypeFromNameVoxelBlockyType
public VoxelBlockyType GetTypeFromName(StringName typeName);| Name | Type | Default |
|---|---|---|
typeName | StringName | — |
Returns
VoxelBlockyTypeGetTypeNameAndAttributesFromModelIndexReckfell.Collections.Array
public Reckfell.Collections.Array GetTypeNameAndAttributesFromModelIndex(int modelIndex);| Name | Type | Default |
|---|---|---|
modelIndex | int | — |
Returns
Reckfell.Collections.ArrayGetTypesReckfell.Collections.Array<VoxelBlockyType>
public Reckfell.Collections.Array<VoxelBlockyType> GetTypes();Returns
Reckfell.Collections.Array<VoxelBlockyType>LoadIdMapFromJsonbool
public bool LoadIdMapFromJson(string json);| Name | Type | Default |
|---|---|---|
json | string | — |
Returns
boolLoadIdMapFromStringArray2 overloads
public bool LoadIdMapFromStringArray(ReadOnlySpan<string> strArray);| Name | Type | Default |
|---|---|---|
strArray | ReadOnlySpan<string> | — |
Returns
boolpublic bool LoadIdMapFromStringArray(string[] strArray);| Name | Type | Default |
|---|---|---|
strArray | string[] | — |
Returns
boolSerializeIdMapToJsonstring
public string SerializeIdMapToJson();Returns
stringSerializeIdMapToStringArraystring[]
public string[] SerializeIdMapToStringArray();Returns
string[]SetTypesvoid
public void SetTypes(Reckfell.Collections.Array<VoxelBlockyType> _UnnamedArg0);| Name | Type | Default |
|---|---|---|
_UnnamedArg0 | Reckfell.Collections.Array<VoxelBlockyType> | — |
Reckfell Engine documentationBack to top ↑