API Reference > Classes > OdBmAppearanceAssetHelper Class > OdBmAppearanceAssetHelper Methods > OdBmAppearanceAssetHelper::fillAppearanceAssetWith Method (OdBmAssetPtr&, OdBm::PredefinedAppearanceAsset::Enum, OdString&)
OdBmAppearanceAssetHelper::fillAppearanceAssetWith Method (OdBmAssetPtr&, OdBm::PredefinedAppearanceAsset::Enum, OdString&)
Syntax
C++
static OdResult fillAppearanceAssetWith(OdBmAssetPtr& pResultAsset, OdBm::PredefinedAppearanceAsset::Enum schema, const OdString& texture = OdString::kEmpty);
Parameters 
Description 
OdBmAssetPtr& pResultAsset 
[out] The resultion output asset.  
OdBm::PredefinedAppearanceAsset::Enum schema 
[in] Predefined schema.  
const OdString& texture = OdString::kEmpty 
[in] Texture.
 

eOk if the operation was successful, and appropriate error code otherwise. 

remarks This is a static method.

Fills asset with default values of predefined schema. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.