ARKitMaterialProperty class abstract
The contents of a ARKitMaterial slot This can be used to specify the various properties of SCNMaterial slots such as diffuse, ambient, etc.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
color(
Color color) → ARKitMaterialColor - Specifies the receiver's color.
-
fromJson(
Map< String, dynamic> json) → ARKitMaterialProperty -
image(
String image) → ARKitMaterialImage - Specifies the receiver's image. It might be either a name of an image stored in native iOS project or a full path to the file in the Flutter folder (/assets/image/img.jpg) or URL or base64 string (highly not recommended due to potential performance issues)
-
value(
double value) → ARKitMaterialValue - Floating value between 0 and 1 (NSNumber) for metalness and roughness properties
-
video(
{required int width, required int height, String? filename, String? url, bool? autoplay = true}) → ARKitMaterialVideo - Specifies the receiver's video.