SmdFile class
Constructors
- SmdFile()
Properties
-
frames
→ List<
List< List< >double> ?> -
frames
bone=px, py, pz, rx, ry, rz; bones absent from a frame inherit the previous frame's value.final -
frameTimes
→ List<
int> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLikelyZUp → bool
-
Heuristic: in Z-up files the tallest extent of the mesh is usually Z
and the root bone is rotated about X by ~90°.
no setter
- isReference → bool
-
no setter
-
nodes
→ List<
SmdNode> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
triangles
→ List<
SmdTriangle> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJoints(
) → List< Ms3dJoint> - The reference skeleton (first frame) as MS3D-style joints whose bind pose is frame 0 and whose keys are every frame (absolute).
-
toMesh(
) → Ms3dModel - Converts the triangles into an Ms3dModel (one group per material, material names = SMD texture names). SMD stores one vertex per triangle corner, so vertices are not shared.
-
toSkeleton(
) → Ms3dSkeleton - Skeleton for playing this file as an animation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited