Water class
References: https://alex.vlachos.com/graphics/Vlachos-SIGGRAPH10-WaterFlow.pdf http://graphicsrunner.blogspot.de/2010/08/water-using-flow-maps.html
Constructors
-
Water(BufferGeometry? geometry, [Map<
String, dynamic> ? options])
Properties
- autoUpdate ↔ bool
-
getter/setter pairinherited
- background ↔ dynamic
-
getter/setter pairinherited
- bindMatrix ↔ Matrix4?
-
getter/setter pairinherited
- castShadow ↔ bool
-
getter/setter pairinherited
-
children
↔ List<
Object3D> -
getter/setter pairinherited
- clock → dynamic
-
final
- count ↔ int?
-
getter/setter pairinherited
- customDepthMaterial ↔ Material?
-
- Custom depth material to be used when rendering to the depth map. Can only be used in context of meshes.
- When shadow-casting with a DirectionalLight or SpotLight, if you are (a) modifying vertex positions in
- the vertex shader, (b) using a displacement map, (c) using an alpha map with alphaTest, or (d) using a
- transparent texture with alphaTest, you must specify a customDepthMaterial for proper shadows.
getter/setter pairinherited - Custom depth material to be used when rendering to the depth map. Can only be used in context of meshes.
- customDistanceMaterial ↔ Material?
-
getter/setter pairinherited
- cycle → double
-
final
- environment ↔ Texture?
-
getter/setter pairinherited
-
extra
↔ Map<
String, dynamic> -
getter/setter pairinherited
- flowSpeed ↔ double
-
getter/setter pair
- frustumCulled ↔ bool
-
getter/setter pairinherited
- geometry ↔ BufferGeometry?
-
getter/setter pairinherited
- halfCycle ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
getter/setter pairinherited
-
instanceColor
↔ BufferAttribute<
NativeArray< ?num> > -
getter/setter pairinherited
- instanceMatrix ↔ InstancedBufferAttribute?
-
getter/setter pairinherited
- isImmediateRenderObject ↔ bool
-
getter/setter pairinherited
- isWater ↔ bool
-
getter/setter pair
- layers ↔ dynamic
-
getter/setter pairinherited
- material ↔ dynamic
-
getter/setter pairinherited
- matrix ↔ Matrix4
-
getter/setter pairinherited
- matrixAutoUpdate ↔ bool
-
getter/setter pairinherited
- matrixWorld ↔ Matrix4
-
getter/setter pairinherited
- matrixWorldNeedsUpdate ↔ bool
-
getter/setter pairinherited
- modelViewMatrix ↔ Matrix4
-
getter/setter pairinherited
-
morphTargetDictionary
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
-
morphTargetInfluences
↔ List<
num> ? -
getter/setter pairinherited
- name ↔ String
-
getter/setter pairinherited
- normalMatrix ↔ Matrix3
-
getter/setter pairinherited
- onBeforeRender ↔ Function?
-
getter/setter pairinherited
- overrideMaterial ↔ Material?
-
getter/setter pairinherited
- parent ↔ Object3D?
-
getter/setter pairinherited
- position ↔ Vector3
-
getter/setter pairinherited
- quaternion ↔ Quaternion
-
getter/setter pairinherited
- receiveShadow ↔ bool
-
getter/setter pairinherited
- renderOrder ↔ int
-
getter/setter pairinherited
- rotation ↔ Euler
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ Vector3
-
getter/setter pairinherited
- skeleton ↔ Skeleton?
-
getter/setter pairinherited
- tag ↔ String?
-
getter/setter pairinherited
- textureMatrix → Matrix4
-
final
- type ↔ String
-
getter/setter pairinherited
- up ↔ Vector3
-
getter/setter pairinherited
-
userData
↔ Map<
String, dynamic> -
getter/setter pairinherited
- uuid ↔ String
-
getter/setter pairinherited
- visible ↔ bool
-
getter/setter pairinherited
Methods
-
add(
Object3D? object) → Object3D -
inherited
-
addAll(
List< Object3D> objects) → Object3D -
inherited
-
addEventListener(
String type, Function listener) → void -
inherited
-
applyMatrix4(
Matrix4 matrix) → void -
inherited
-
applyQuaternion(
Quaternion q) → Object3D -
inherited
-
attach(
Object3D object) → Object3D -
inherited
-
clear(
) → Object3D -
inherited
-
clearListeners(
) → void -
inherited
-
clone(
[bool? recursive = true]) → Mesh -
inherited
-
copy(
Object3D source, [bool? recursive]) → Mesh -
inherited
-
dispatchEvent(
Event event) → void -
inherited
-
dispose(
) → void -
inherited
-
extractFromCache(
Map< String, dynamic> cache) → List<Map< String, dynamic> > -
inherited
-
getObjectById(
String id) → Object3D? -
inherited
-
getObjectByName(
String name) → Object3D? -
inherited
-
getObjectByProperty(
String name, String value) → Object3D? -
inherited
-
getProperty(
String propertyName) → dynamic -
inherited
-
getValue(
String name) → Matrix4? -
inherited
-
getWorldDirection(
Vector3 target) → Vector3 -
inherited
-
getWorldPosition(
Vector3? target) → Vector3 -
inherited
-
getWorldQuaternion(
Quaternion target) → Quaternion -
inherited
-
getWorldScale(
Vector3 target) → Vector3 -
inherited
-
hasEventListener(
String type, Function? listener) → bool -
inherited
-
init(
) → void -
inherited
-
localToWorld(
dynamic vector) → dynamic -
inherited
-
lookAt(
Vector3 position) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAfterRender(
{WebGLRenderer? renderer, dynamic scene, Camera? camera, dynamic geometry, dynamic material, dynamic group}) → void -
inherited
-
onQuaternionChange(
) → void -
inherited
-
onRotationChange(
) → void -
inherited
-
raycast(
Raycaster raycaster, List< Intersection> intersects) → void -
inherited
-
remove(
Object3D object) → Object3D -
inherited
-
removeEventListener(
String type, Function listener) → void -
inherited
-
removeFromParent(
) → Object3D -
inherited
-
removeList(
List< Object3D> objects) → Object3D -
inherited
-
rotateOnAxis(
dynamic axis, num angle) → Object3D -
inherited
-
rotateOnWorldAxis(
dynamic axis, num angle) → Object3D -
inherited
-
rotateX(
num angle) → Object3D -
inherited
-
rotateY(
num angle) → Object3D -
inherited
-
rotateZ(
num angle) → Object3D -
inherited
-
serialize(
Map< String, dynamic> library, dynamic element, Object3dMeta? meta) → dynamic -
inherited
-
setProperty(
String propertyName, dynamic value) → Object3D -
inherited
-
setRotationFromAxisAngle(
dynamic axis, num angle) → void -
inherited
-
setRotationFromEuler(
Euler euler) → void -
inherited
-
setRotationFromMatrix(
dynamic m) → void -
inherited
-
setRotationFromQuaternion(
Quaternion q) → void -
inherited
-
toJSON(
{Object3dMeta? meta}) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translateOnAxis(
dynamic axis, num distance) → Object3D -
inherited
-
translateX(
dynamic distance) → Object3D -
inherited
-
translateY(
dynamic distance) → Object3D -
inherited
-
translateZ(
dynamic distance) → Object3D -
inherited
-
traverse(
dynamic callback) → void -
inherited
-
traverseAncestors(
dynamic callback) → void -
inherited
-
traverseVisible(
dynamic callback) → void -
inherited
-
updateFlow(
) → void -
updateMatrix(
) → void -
inherited
-
updateMatrixWorld(
[bool force = false]) → void -
inherited
-
updateMorphTargets(
) → void -
inherited
-
updateTextureMatrix(
Camera camera) → void -
updateWorldMatrix(
bool updateParents, bool updateChildren) → void -
inherited
-
worldToLocal(
dynamic vector) → dynamic -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
waterShader
↔ Map<
String, dynamic> -
getter/setter pair