API Reference > Classes > OdBmAppearanceAssetHelper Class > OdBmAppearanceAssetHelper Methods > OdBmAppearanceAssetHelper::getTextureAsset Method (OdBmAssetPtr&, OdBmAssetPtr&, OdString&)
OdBmAppearanceAssetHelper::getTextureAsset Method (OdBmAssetPtr&, OdBmAssetPtr&, OdString&)
Syntax
C++
static OdResult getTextureAsset(const OdBmAssetPtr& pAsset, OdBmAssetPtr& pTextureAsset, const OdString& propertyName = OdString::kEmpty);
Parameters 
Description 
const OdBmAssetPtr& pAsset 
[in] Input asset.  
OdBmAssetPtr& pTextureAsset 
[in] Output texture asset.  
const OdString& propertyName = OdString::kEmpty 
[in] Property name, empty by default.
 

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

remarks This is a static method.

If possible, returns default connected asset contained a texture data 

 

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