valueOf

Utility function to get OcclusionOpacityMode instance from given value.