ArCoreMaterial class

Constructors

ArCoreMaterial({double? metallic, double? roughness, double? reflectance, Color? color, Uint8List? textureBytes})

Properties

color Color?
final
hashCode int
The hash code for this object.
no setterinherited
metallic double?
The metallic property defines whether the surface is a metallic (conductor) or a non-metallic (dielectric) surface. This property should be used as a binary value, set to either 0 or 1. Intermediate values are only truly useful to create transitions between different types of surfaces when using textures. The default value is 0.
final
reflectance double?
The reflectance property only affects non-metallic surfaces. This property can be used to control the specular intensity. This value is defined between 0 and 1 and represents a remapping of a percentage of reflectance. The default value is 0.5.
final
roughness double?
The roughness property controls the perceived smoothness of the surface. When roughness is set to 0, the surface is perfectly smooth and highly glossy. The rougher a surface is, the “blurrier” the reflections are. The default value is 0.4.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textureBytes Uint8List?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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