|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2009-2021 jMonkeyEngine
|
|
|
+ * Copyright (c) 2009-2023 jMonkeyEngine
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -516,6 +516,15 @@ public class WaterFilter extends Filter implements JmeCloneable, Cloneable {
|
|
|
return reflectionScene;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Gets the view port used to render reflection scene.
|
|
|
+ *
|
|
|
+ * @return the reflection view port.
|
|
|
+ */
|
|
|
+ public ViewPort getReflectionView() {
|
|
|
+ return reflectionView;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* returns the waterTransparency value
|
|
|
* @return the transparency value
|