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); }
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); }
public int GetMinAlignment() { return(Native_UProperty.GetMinAlignment(Address)); }