Class LWOImportOneLayerConfig
Configures the LWO loader to load just one layer from the model.
LWO files consist of layers and in some cases it could be useful to load only one of them. This property can be either a string - which specifies the name of the layer - or an integer - the index of the layer. If the property is not set then the whole LWO model is loaded. Loading fails if the requested layer is not vailable. The layer index is zero-based and the layer name may not be empty
The default value is false (all layers are loaded).Inherited Members
Namespace: SharpAssimp.Configs
Assembly: SharpAssimp.dll
Syntax
public sealed class LWOImportOneLayerConfig : BooleanPropertyConfig
Constructors
| Edit this page View SourceLWOImportOneLayerConfig(bool)
Constructs a new LWOImportOneLayerConfig.
Declaration
public LWOImportOneLayerConfig(bool importOneLayerOnly)
Parameters
Type | Name | Description |
---|---|---|
bool | importOneLayerOnly | True if only one layer should be imported, false if all layers should be imported. |
Properties
| Edit this page View SourceLWOImportOneLayerConfigName
Gets the string name used by LWOImportOneLayerConfig.
Declaration
public static string LWOImportOneLayerConfigName { get; }
Property Value
Type | Description |
---|---|
string |