Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

Getting label of layered image

$
0
0

I can't seem to get the label of a layered image... .label returning undefined..

 

	oMap = oProperty.getMapValue();
	if( oMap ){
		if( oMap.className() == "DzLayeredTexture" ){
			NumOfLayers = oMap.getNumLayers();
			for( var i = 0; i < NumOfLayers; i++){
				cLayer = oMap.getLayer(i);
				LayerLabel = cLayer.label;
				debug( String( %1 ).arg( LayerLabel ) );
			}
		}
	}

 


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>