Emotion Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Emotion() |
Initializes a new instance of the Emotion class. |
Emotion(Double, Double, Double, Double, Double, Double, Double, Double) |
Initializes a new instance of the Emotion class. |
Emotion()
- Source:
- Emotion.cs
Initializes a new instance of the Emotion class.
public Emotion ();
Public Sub New ()
Applies to
Emotion(Double, Double, Double, Double, Double, Double, Double, Double)
- Source:
- Emotion.cs
Initializes a new instance of the Emotion class.
public Emotion (double anger = 0, double contempt = 0, double disgust = 0, double fear = 0, double happiness = 0, double neutral = 0, double sadness = 0, double surprise = 0);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.Emotion : double * double * double * double * double * double * double * double -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.Emotion
Public Sub New (Optional anger As Double = 0, Optional contempt As Double = 0, Optional disgust As Double = 0, Optional fear As Double = 0, Optional happiness As Double = 0, Optional neutral As Double = 0, Optional sadness As Double = 0, Optional surprise As Double = 0)
Parameters
- anger
- Double
- contempt
- Double
- disgust
- Double
- fear
- Double
- happiness
- Double
- neutral
- Double
- sadness
- Double
- surprise
- Double
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET