Class Scene.Object.FinishesConfig
Represents finishes config, which is in essence a set of available finish types and one assigned finish assigned to each of them.
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Scene.Object.FinishesConfig : IEnumerable<Scene.Object.Finish>, IEnumerable, IEquatable<Scene.Object.FinishesConfig>
Remarks
This class operates on a finishes config string which can
be obtained for example from Finishes
Constructors
Name | Description |
---|---|
Finishes |
Instantiates FinishesConfig object from an object to which finishes config string belongs to, and finishes config string itself. |
Properties
Name | Description |
---|---|
Finish |
Provides access to the finish types available in the finishes config. |
Finishes | Provides access to all the finishes that are set in the finishes config. |
this[Finish |
Allows to access a finish by its finish type. |
Methods
Name | Description |
---|---|
Equals(Finishes |
Compares two instances based on their internal finishes config string representation. |
Equals(object) | Compares two instances based on their internal finishes config string representation. |
Get |
Implements |
Get |
Gets finish type from the finishes config by its name. Throws an exception if given name doesn't exist in finishes config. |
Get |
Generates instance hash code based on the internal string representation. |
Set |
Finds a finish type with given name in the finishes config, then finds a finish with given code belonging to the finish type, and then sets the finish to the config. |
To |
Returns string representation of the finishes config. |
Try |
Tries to get finish for given finish type. |
Try |
Tries to get finish type with given name from the finishes config. |
Try |
|
Try |
Finds a finish type with given name in the finishes config, then finds a finish with given code belonging to the finish type, and then sets the finish to the config. |
Operators
Name | Description |
---|---|
operator ==(Finishes |
Determines whether two specified instances have the same value. |
operator !=(Finishes |
Determines whether two specified instances have different values. |