示例#1
0
        public FTestSS(IntPtr nativeStruct)
        {
            if (!FTestSS_IsValid)
            {
                NativeReflection.LogInvalidStructAccessed("/Game/Pong/Test/TestSS.TestSS");
                MemberVar_0  = default(bool);
                MemberVar_1  = default(List <float>);
                MemberVar_21 = default(byte);
                return;
            }
            MemberVar_0 = BoolMarshaler.FromNative(IntPtr.Add(nativeStruct, MemberVar_0_Offset), 0, MemberVar_0_PropertyAddress.Address);
            TArrayCopyMarshaler <float> MemberVar_1_Marshaler = new TArrayCopyMarshaler <float>(1, MemberVar_1_PropertyAddress, CachedMarshalingDelegates <float, BlittableTypeMarshaler <float> > .FromNative, CachedMarshalingDelegates <float, BlittableTypeMarshaler <float> > .ToNative);

            MemberVar_1  = MemberVar_1_Marshaler.FromNative(IntPtr.Add(nativeStruct, MemberVar_1_Offset));
            MemberVar_21 = BlittableTypeMarshaler <byte> .FromNative(IntPtr.Add(nativeStruct, MemberVar_21_Offset));
        }
示例#2
0
        public FDebugFloatHistory(IntPtr nativeStruct)
        {
            if (!FDebugFloatHistory_IsValid)
            {
                MaxSamples       = default(float);
                MinValue         = default(float);
                MaxValue         = default(float);
                AutoAdjustMinMax = default(bool);
                return;
            }
            MaxSamples = BlittableTypeMarshaler <float> .FromNative(IntPtr.Add(nativeStruct, MaxSamples_Offset));

            MinValue = BlittableTypeMarshaler <float> .FromNative(IntPtr.Add(nativeStruct, MinValue_Offset));

            MaxValue = BlittableTypeMarshaler <float> .FromNative(IntPtr.Add(nativeStruct, MaxValue_Offset));

            AutoAdjustMinMax = BoolMarshaler.FromNative(IntPtr.Add(nativeStruct, AutoAdjustMinMax_Offset), 0, AutoAdjustMinMax_PropertyAddress.Address);
        }
示例#3
0
 public FMaterialQualityOverrides(IntPtr nativeStruct)
 {
     if (!FMaterialQualityOverrides_IsValid)
     {
         NativeReflection.LogInvalidStructAccessed("/Script/MaterialShaderQualitySettings.MaterialQualityOverrides");
         EnableOverride  = default(bool);
         ForceFullyRough = default(bool);
         ForceNonMetal   = default(bool);
         ForceDisableLMDirectionality = default(bool);
         ForceLQReflections           = default(bool);
         MobileCSMQuality             = default(EMobileCSMQuality);
         return;
     }
     EnableOverride  = BoolMarshaler.FromNative(IntPtr.Add(nativeStruct, EnableOverride_Offset), 0, EnableOverride_PropertyAddress.Address);
     ForceFullyRough = BoolMarshaler.FromNative(IntPtr.Add(nativeStruct, ForceFullyRough_Offset), 0, ForceFullyRough_PropertyAddress.Address);
     ForceNonMetal   = BoolMarshaler.FromNative(IntPtr.Add(nativeStruct, ForceNonMetal_Offset), 0, ForceNonMetal_PropertyAddress.Address);
     ForceDisableLMDirectionality = BoolMarshaler.FromNative(IntPtr.Add(nativeStruct, ForceDisableLMDirectionality_Offset), 0, ForceDisableLMDirectionality_PropertyAddress.Address);
     ForceLQReflections           = BoolMarshaler.FromNative(IntPtr.Add(nativeStruct, ForceLQReflections_Offset), 0, ForceLQReflections_PropertyAddress.Address);
     MobileCSMQuality             = EnumMarshaler <EMobileCSMQuality> .FromNative(IntPtr.Add(nativeStruct, MobileCSMQuality_Offset), 0, MobileCSMQuality_PropertyAddress.Address);
 }