API Reference > Classes > OdBmAppearanceAssetHelper Class > OdBmAppearanceAssetHelper Methods > OdBmAppearanceAssetHelper::getTextureAsset Method (OdBmAssetPtr&, OdString&)
OdBmAppearanceAssetHelper::getTextureAsset Method (OdBmAssetPtr&, OdString&)
Syntax
C++
OdResult getTextureAsset(OdBmAssetPtr& pAsset, const OdString& propertyName = OdString::kEmpty) const;
Parameters 
Description 
OdBmAssetPtr& pAsset 
[out] The output texture asset.  
const OdString& propertyName = OdString::kEmpty 
[in] Defines the name of the asset property in which method will try to find the texture. If not specified, the default property will be used.
 

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

Returns a connected asset only if the asset defines a bitmap of the material appearance. 

 

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