ButtonIconSet.TryGetQuadIcon(String, Texture2D) Method
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.
Searches for a quad texture by name.
C++
public:
bool TryGetQuadIcon(System::String ^ iconName, [Runtime::InteropServices::Out] UnityEngine::Texture2D ^ % quadIcon);
public bool TryGetQuadIcon (string iconName, out UnityEngine.Texture2D quadIcon);
member this.TryGetQuadIcon : string * Texture2D -> bool
Public Function TryGetQuadIcon (iconName As String, ByRef quadIcon As Texture2D) As Boolean
- iconName
- String
- quadIcon
- UnityEngine.Texture2D
True if quad icon was found.
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |