Пример #1
0
        public static FScriptSetHelper CreateHelperFormInnerProperty(IntPtr elementProperty, IntPtr set)
        {
            FScriptSetHelper scriptSetHelper = new FScriptSetHelper();

            scriptSetHelper.elementProp = elementProperty;
            scriptSetHelper.set         = (FScriptSet *)set;
            scriptSetHelper.setLayout   = FScriptSet.GetScriptLayout(
                Native_UProperty.GetSize(elementProperty), Native_UProperty.GetMinAlignment(elementProperty));
            return(scriptSetHelper);
        }
Пример #2
0
        public static FScriptMapHelper CreateHelperFormInnerProperty(IntPtr keyProperty, IntPtr valProperty, IntPtr map)
        {
            FScriptMapHelper scriptMapHelper = new FScriptMapHelper();

            scriptMapHelper.keyProp   = keyProperty;
            scriptMapHelper.valueProp = valProperty;
            scriptMapHelper.map       = (FScriptMap *)map;
            scriptMapHelper.mapLayout = FScriptMap.GetScriptLayout(
                Native_UProperty.GetSize(keyProperty), Native_UProperty.GetMinAlignment(keyProperty),
                Native_UProperty.GetSize(valProperty), Native_UProperty.GetMinAlignment(valProperty));
            return(scriptMapHelper);
        }
Пример #3
0
 public int GetMinAlignment()
 {
     return(Native_UProperty.GetMinAlignment(Address));
 }