Sp3dPhysics class

(en)A class for managing parameters for physics operations. (ja)物理演算のためのパラメータを管理するためのクラスです。

Author Masahide Mori

First edition creation date 2021-11-27 17:17:38

Constructors

Sp3dPhysics({bool isLocked = false, double? mass, double? speed, Sp3dV3D? direction, Sp3dV3D? velocity, Sp3dV3D? rotateAxis, double? angularVelocity, double? angle, String? name, Map<String, dynamic>? others})
Constructor

Properties

angle double?
getter/setter pair
angularVelocity double?
getter/setter pair
direction Sp3dV3D?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isLocked bool
getter/setter pair
mass double?
getter/setter pair
name String?
getter/setter pair
others Map<String, dynamic>?
getter/setter pair
rotateAxis Sp3dV3D?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?
getter/setter pair
velocity Sp3dV3D?
getter/setter pair

Methods

deepCopy() Sp3dPhysics
Deep copy the object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDict() Map<String, dynamic>
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) Sp3dPhysics
Restore this object from the dictionary.

Constants

className → const String
version → const String