UnityEngine.GUIStyle.Internal_CalcSize C# (CSharp) Method

Internal_CalcSize() private method

private Internal_CalcSize ( IntPtr target, GUIContent content, Vector2 &ret ) : void
target System.IntPtr
content GUIContent
ret Vector2
return void
        internal static extern void Internal_CalcSize(IntPtr target, GUIContent content, out Vector2 ret);
        internal static void Internal_CalcSizeWithConstraints(IntPtr target, GUIContent content, Vector2 maxSize, out Vector2 ret)

Usage Example

コード例 #1
0
ファイル: GUIStyle.cs プロジェクト: zuohu/UnityDecompiled
        public Vector2 CalcSize(GUIContent content)
        {
            Vector2 result;

            GUIStyle.Internal_CalcSize(this.m_Ptr, content, out result);
            return(result);
        }