Sp3dPaintImage class
(en)This is a conversion class for drawing images used inside Sp3dRenderer.
(ja)Sp3dRenderer内部で使用する、画像の描画用変換クラスです。
Author Masahide Mori
First edition creation date 2021-10-31 20:13:16
Constructors
- Sp3dPaintImage(Sp3dMaterial material, bool imageBGisBlack)
- Constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- material → Sp3dMaterial
-
final
- p → Paint
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textureCoordinates
↔ List<
Offset> -
getter/setter pair
Methods
-
createShader(
Image image) → Future< bool> - (en)Load the image and create a shader inside.
-
getPaint(
) → Paint - (en)Gets the paint class with the shader set. This can only be called after executing the create_shader function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateVertices(
Sp3dFaceObj fo) → Vertices - (en)Generate vertices for drawing internally. You can draw this return value with canvas.drawVertices. e.g. canvas.drawVertices(updateVertices(fo), ui.BlendMode.srcOver, this_class.get_paint());
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited