@@ -458,7 +458,7 @@ export class BabylonScene {
458458 * @group background
459459 * @shortname two color linear gradient
460460 */
461- twoColorLinearGradient ( inputs : Inputs . BabylonScene . SceneTwoColorLinearGradientDto ) : { backgroundImage : string } {
461+ twoColorLinearGradientBackground ( inputs : Inputs . BabylonScene . SceneTwoColorLinearGradientDto ) : { backgroundImage : string } {
462462 this . context . scene . clearColor = new BABYLON . Color4 ( 0 , 0 , 0 , 0 ) ;
463463 const canvas = this . context . scene . getEngine ( ) . getRenderingCanvas ( ) ;
464464 const gradient = `linear-gradient(${ inputs . direction } , ${ inputs . colorFrom } ${ inputs . stopFrom } %, ${ inputs . colorTo } ${ inputs . stopTo } %)` ;
@@ -475,7 +475,7 @@ export class BabylonScene {
475475 * @group background
476476 * @shortname two color radial gradient
477477 */
478- twoColorRadialGradient ( inputs : Inputs . BabylonScene . SceneTwoColorRadialGradientDto ) : { backgroundImage : string } {
478+ twoColorRadialGradientBackground ( inputs : Inputs . BabylonScene . SceneTwoColorRadialGradientDto ) : { backgroundImage : string } {
479479 this . context . scene . clearColor = new BABYLON . Color4 ( 0 , 0 , 0 , 0 ) ;
480480 const canvas = this . context . scene . getEngine ( ) . getRenderingCanvas ( ) ;
481481 const gradient = `radial-gradient(${ inputs . shape } at ${ inputs . position } , ${ inputs . colorFrom } ${ inputs . stopFrom } %, ${ inputs . colorTo } ${ inputs . stopTo } %)` ;
@@ -492,7 +492,7 @@ export class BabylonScene {
492492 * @group background
493493 * @shortname multi color linear gradient
494494 */
495- multiColorLinearGradient ( inputs : Inputs . BabylonScene . SceneMultiColorLinearGradientDto ) : { backgroundImage : string } | { error : string } {
495+ multiColorLinearGradientBackground ( inputs : Inputs . BabylonScene . SceneMultiColorLinearGradientDto ) : { backgroundImage : string } | { error : string } {
496496 this . context . scene . clearColor = new BABYLON . Color4 ( 0 , 0 , 0 , 0 ) ;
497497 const canvas = this . context . scene . getEngine ( ) . getRenderingCanvas ( ) ;
498498 if ( inputs . colors . length !== inputs . stops . length ) {
@@ -515,7 +515,7 @@ export class BabylonScene {
515515 * @group background
516516 * @shortname multi color radial gradient
517517 */
518- multiColorRadialGradient ( inputs : Inputs . BabylonScene . SceneMultiColorRadialGradientDto ) : { backgroundImage : string } | { error : string } {
518+ multiColorRadialGradientBackground ( inputs : Inputs . BabylonScene . SceneMultiColorRadialGradientDto ) : { backgroundImage : string } | { error : string } {
519519 this . context . scene . clearColor = new BABYLON . Color4 ( 0 , 0 , 0 , 0 ) ;
520520 const canvas = this . context . scene . getEngine ( ) . getRenderingCanvas ( ) ;
521521 if ( inputs . colors . length !== inputs . stops . length ) {
0 commit comments