Sp3dLight class

(en)A simple light for shooting Sp3dObj.

(ja)Sp3dWorldの撮影用のシンプルなライトです。

Author Masahide Mori

First edition creation date 2021-09-30 21:17:02

Annotations

Constructors

Sp3dLight(Sp3dV3D direction, {double minBrightness = 0.0, bool applyStroke = false, bool syncCam = true})
Constructor
const

Properties

applyStroke bool
final
direction → Sp3dV3D
final
hashCode int
The hash code for this object.
no setterinherited
minBrightness double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncCam bool
final

Methods

apply(Sp3dV3D nsn, double camTheta, Sp3dMaterial material) List<Color>
(en)Returns the color as a result of this light being applied to a particular surface.
deepCopy() Sp3dLight
(en)Deep copy the object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDict() Map<String, dynamic>
(en)Convert the object to a dictionary.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromDict(Map<String, dynamic> src) Sp3dLight
(en)Restore this object from the dictionary.

Constants

className → const String
version → const String