|
@ -113,7 +113,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->basecolor = $color->cards; |
|
|
if( $color->cards != null ) $this->basecolor = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->basecolor = $color; |
|
|
else $this->basecolor = $color; |
|
@ -126,7 +126,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->subsurface = $color->cards; |
|
|
if( $color->cards != null ) $this->subsurface = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->subsurface = $color; |
|
|
else $this->subsurface = $color; |
|
@ -139,7 +139,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->metallic = $color->cards; |
|
|
if( $color->cards != null ) $this->metallic = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->metallic = $color; |
|
|
else $this->metallic = $color; |
|
@ -152,7 +152,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->specular = $color->cards; |
|
|
if( $color->cards != null ) $this->specular = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->specular = $color; |
|
|
else $this->specular = $color; |
|
@ -165,7 +165,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->speculartint = $color->cards; |
|
|
if( $color->cards != null ) $this->speculartint = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->speculartint = $color; |
|
|
else $this->speculartint = $color; |
|
@ -178,7 +178,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->roughness = $color->cards; |
|
|
if( $color->cards != null ) $this->roughness = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->roughness = $color; |
|
|
else $this->roughness = $color; |
|
@ -191,7 +191,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->anisotropic = $color->cards; |
|
|
if( $color->cards != null ) $this->anisotropic = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->anisotropic = $color; |
|
|
else $this->anisotropic = $color; |
|
@ -204,7 +204,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->sheen = $color->cards; |
|
|
if( $color->cards != null ) $this->sheen = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->sheen = $color; |
|
|
else $this->sheen = $color; |
|
@ -217,7 +217,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->sheentint = $color->cards; |
|
|
if( $color->cards != null ) $this->sheentint = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->sheentint = $color; |
|
|
else $this->sheentint = $color; |
|
@ -230,7 +230,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->clearcoat = $color->cards; |
|
|
if( $color->cards != null ) $this->clearcoat = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->clearcoat = $color; |
|
|
else $this->clearcoat = $color; |
|
@ -243,7 +243,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->clearcoatgloss = $color->cards; |
|
|
if( $color->cards != null ) $this->clearcoatgloss = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->clearcoatgloss = $color; |
|
|
else $this->clearcoatgloss = $color; |
|
@ -256,7 +256,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->transparencyFront = $color->cards; |
|
|
if( $color->cards != null ) $this->transparencyFront = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->transparencyFront = $color; |
|
|
else $this->transparencyFront = $color; |
|
@ -269,7 +269,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->transparencyBack = $color->cards; |
|
|
if( $color->cards != null ) $this->transparencyBack = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->transparencyBack = $color; |
|
|
else $this->transparencyBack = $color; |
|
@ -282,7 +282,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->filmamount = $color->cards; |
|
|
if( $color->cards != null ) $this->filmamount = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->filmamount = $color; |
|
|
else $this->filmamount = $color; |
|
@ -294,7 +294,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->filmthickness = $color->cards; |
|
|
if( $color->cards != null ) $this->filmthickness = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->filmthickness = $color; |
|
|
else $this->filmthickness = $color; |
|
@ -307,7 +307,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->filmior = $color->cards; |
|
|
if( $color->cards != null ) $this->filmior = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->filmior = $color; |
|
|
else $this->filmior = $color; |
|
@ -320,7 +320,7 @@ class Disney extends MaterialsBase |
|
|
if( $color->cards != null ) $this->bumptex = $color->cards; |
|
|
if( $color->cards != null ) $this->bumptex = $color->cards; |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
throw new \Exception("You use an unregistered ".$color->getClassName()." object for the current property"); |
|
|
|
|
|
|
|
|
throw new \Exception("You use an unregistered ".$color->getInstanceClassName()." object for the current property"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else $this->bumptex = $color; |
|
|
else $this->bumptex = $color; |
|
|