API Reference > Classes > Database Classes > OdBmAppearanceAssetElem Class > OdBmAppearanceAssetElem Methods > OdBmAppearanceAssetElem::setRenderingAsset Method
OdBmAppearanceAssetElem::setRenderingAsset Method
Syntax
C++
OdResult setRenderingAsset(const OdBmAppearanceAssetPtr&);
Parameters 
Description 
OdBmAppearanceAssetPtr 
[in] Input pointer to an appearance asset object.
 

Returns eOk if successful or an appropriate error code in the other case.

Sets the appearance asset. The asset will be copied and stored in the element. 

 

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