浏览代码

ATOM-15295 Remove Unnecessary Enable Material Properties

Updated the parallax sample to use the useTexture flag instead of the enable flag for toggling the feauture, since "enable" has been removed.
Chris Santora 4 年之前
父节点
当前提交
d0885eac4e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Gem/Code/Source/ParallaxMappingExampleComponent.cpp

+ 1 - 1
Gem/Code/Source/ParallaxMappingExampleComponent.cpp

@@ -25,7 +25,7 @@
 
 namespace AtomSampleViewer
 {
-    static const char* ParallaxEnableName = "parallax.enable";
+    static const char* ParallaxEnableName = "parallax.useTexture";
     static const char* PdoEnableName = "parallax.pdo";
     static const char* ParallaxFactorName = "parallax.factor";
     static const char* ParallaxHeightOffsetName = "parallax.offset";