Zum Hauptinhalt springen

CkModelPropertiesDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

Represents the properties of a CK model

public class CkModelPropertiesDto

Inheritance Object → CkModelPropertiesDto

Fields​

MaxSupportedCkLanguage​

The highest CK language version this engine understands.

public static int MaxSupportedCkLanguage;

Properties​

ModelId​

Gets or sets the model id.

public CkModelId ModelId { get; set; }

Property Value​

CkModelId

Description​

An optional description of the model

public string Description { get; set; }

Property Value​

String

CkLanguage​

CK v2: the CK language version of the model. null (omitted) means 1. Version 2 enables interfaces, implements, attribute access, methods, visibility, derivable (whose default it changes to Model) and targetCkInterfaceId. A model with a version above CkModelPropertiesDto.MaxSupportedCkLanguage is rejected (message 91).

public Nullable<int> CkLanguage { get; set; }

Property Value​

Nullable<Int32>

EffectiveCkLanguage​

The effective CK language version (CkModelPropertiesDto.CkLanguage or 1).

public int EffectiveCkLanguage { get; }

Property Value​

Int32

Constructors​

CkModelPropertiesDto()​

public CkModelPropertiesDto()