LightShadow class
Serves as a base class for the other shadow classes.
- Implementers
Constructors
- LightShadow([Camera? camera])
- 
          camera- the light's view of the world.
- 
          LightShadow.fromJson(Map<String, dynamic> json, Map<String, dynamic> rootJson)
Properties
- autoUpdate ↔ bool
- 
  
  getter/setter pair
- bias ↔ double
- 
  
  getter/setter pair
- blurSamples ↔ double
- 
  
  getter/setter pair
- camera ↔ Camera?
- 
  
  getter/setter pair
- focus ↔ double
- 
  
  getter/setter pair
- frameExtents → Vector2
- 
  
  final
- frustum → Frustum
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- intensity ↔ double
- 
  
  getter/setter pair
- lightPositionWorld → Vector3
- 
  
  final
- lookTarget → Vector3
- 
  
  final
- map ↔ RenderTarget?
- 
  
  getter/setter pair
- mapPass ↔ RenderTarget?
- 
  
  getter/setter pair
- mapSize ↔ Vector2
- 
  
  getter/setter pair
- matrix ↔ Matrix4
- 
  
  getter/setter pair
- needsUpdate ↔ bool
- 
  
  getter/setter pair
- normalBias ↔ double
- 
  
  getter/setter pair
- projScreenMatrix → Matrix4
- 
  
  final
- radius ↔ double
- 
  
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- viewportCount ↔ int
- 
  
  getter/setter pair
- 
  viewports
  → List<Vector4> 
- 
  
  final
Methods
- 
  clone() → LightShadow 
- Creates a new LightShadow with the same properties as this one.
- 
  copy(LightShadow source) → LightShadow 
- 
  Copies value of all the properties from the sourceto this Light.
- 
  dispose() → void 
- Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
- 
  getFrameExtents() → Vector2 
- Used internally by the renderer to extend the shadow map to contain all viewports
- 
  getFrustum() → Frustum 
- Gets the shadow cameras frustum. Used internally by the renderer to cull objects.
- 
  getViewport(int viewportIndex) → Vector4 
- 
  getViewportCount() → int 
- Used internally by the renderer to get the number of viewports that need to be rendered for this shadow.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- Serialize this LightShadow.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  updateMatrices(Light light, {int viewportIndex = 0}) → void 
- Update the matrices for the camera and shadow, used internally by the renderer.
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited