示例#1
0
 public EmitterDurationSettings(CR2WFile cr2w) : base(cr2w)
 {
     emitterDuration = new CFloat(cr2w)
     {
         Name = "emitterDuration", Type = "Float"
     };
     emitterDurationLow = new CFloat(cr2w)
     {
         Name = "emitterDurationLow", Type = "Float"
     };
     useEmitterDurationRange = new CBool(cr2w)
     {
         Name = "useEmitterDurationRange", Type = "Bool"
     };
 }
示例#2
0
 public SDynamicDecalMaterialInfo(CR2WFile cr2w) : base(cr2w)
 {
     diffuseTexture = new CHandle(cr2w)
     {
         Name = "diffuseTexture", Type = "CHandle"
     };
     normalTexture = new CHandle(cr2w)
     {
         Name = "normalTexture", Type = "CHandle"
     };
     specularColor = new CColor(cr2w)
     {
         Name = "specularColor", Type = "Color"
     };
     specularScale = new CFloat(cr2w)
     {
         Name = "specularScale", Type = "Float"
     };
     specularBase = new CFloat(cr2w)
     {
         Name = "specularBase", Type = "Float"
     };
     specularity = new CFloat(cr2w)
     {
         Name = "specularity", Type = "Float"
     };
     additiveNormals = new CBool(cr2w)
     {
         Name = "additiveNormals", Type = "Bool"
     };
     diffuseRandomColor0 = new CColor(cr2w)
     {
         Name = "diffuseRandomColor0", Type = "Color"
     };
     diffuseRandomColor1 = new CColor(cr2w)
     {
         Name = "diffuseRandomColor1", Type = "Color"
     };
     subUVType = new CName(cr2w)
     {
         Name = "subUVType", Type = "CName"
     };
 }
 public EmitterDelaySettings(CR2WFile cr2w) : base(cr2w)
 {
     emitterDelay = new CFloat(cr2w)
     {
         Name = "emitterDelay", Type = "CFloat"
     };
     emitterDelayLow = new CFloat(cr2w)
     {
         Name = "emitterDelayLow", Type = "CFloat"
     };
     useEmitterDelayRange = new CBool(cr2w)
     {
         Name = "useEmitterDelayRange", Type = "CBool"
     };
     useEmitterDelayOnce = new CBool(cr2w)
     {
         Name = "useEmitterDelayOnce", Type = "CBool"
     };
 }
示例#4
0
 public CParticleSystem(CR2WFile cr2w) : base(cr2w)
 {
     lods = new CArray("array:0,0,SParticleSystemLODLevel", "SParticleSystemLODLevel", true, cr2w)
     {
         Name = "lods", Type = "CArray"
     };
     emitters = new CArray("array:0,0,ptr:CParticleEmitter", "CParticleEmitter", true, cr2w)
     {
         Name = "emitters", Type = "CArray"
     };
     autoHideDistance = new CFloat(cr2w)
     {
         Name = "autoHideDistance", Type = "CFloat"
     };
     autoHideRange = new CFloat(cr2w)
     {
         Name = "autoHideRange", Type = "CFloat"
     };
     previewBackgroundColor = new CColor(cr2w)
     {
         Name = "previewBackgroundColor", Type = "Color"
     };
     previewShowGrid = new CBool(cr2w)
     {
         Name = "previewShowGrid", Type = "CBool"
     };
     visibleThroughWalls = new CBool(cr2w)
     {
         Name = "visibleThroughWalls", Type = "CBool"
     };
     prewarmingTime = new CFloat(cr2w)
     {
         Name = "prewarmingTime", Type = "CFloat"
     };
     renderingPlane = new CName(cr2w)
     {
         Name = "renderingPlane", Type = "CName"
     };
 }
示例#5
0
 public CFont(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     Unicodemapping = new CArray <CUInt16>(cr2w, this, nameof(Unicodemapping))
     {
         IsSerialized = true, Elementtype = "Uint16"
     };
     Linedist = new CInt32(cr2w, this, nameof(Linedist))
     {
         IsSerialized = true
     };
     Maxglyphheight = new CInt32(cr2w, this, nameof(Maxglyphheight))
     {
         IsSerialized = true
     };
     Kerning = new CBool(cr2w, this, nameof(Kerning))
     {
         IsSerialized = true
     };
     Glyphs = new CArray <CArray <CFloat> >(cr2w, this, nameof(Glyphs))
     {
         IsSerialized = true, Elementtype = "array:2,0,Float"
     };
 }
示例#6
0
 public CDecalSpawner(CR2WFile cr2w) : base(cr2w)
 {
     material = new SDynamicDecalMaterialInfo(cr2w)
     {
         Name = "material", Type = "SDynamicDecalMaterialInfo"
     };
     farZ = new CFloat(cr2w)
     {
         Name = "farZ", Type = "CFloat"
     };
     nearZ = new CFloat(cr2w)
     {
         Name = "nearZ", Type = "CFloat"
     };
     ssize = new CPtr(cr2w)
     {
         Name = "size", Type = "IEvaluatorFloat"
     };
     depthFadePower = new CFloat(cr2w)
     {
         Name = "depthFadePower", Type = "CFloat"
     };
     normalFadeBias = new CFloat(cr2w)
     {
         Name = "normalFadeBias", Type = "CFloat"
     };
     normalFadeScale = new CFloat(cr2w)
     {
         Name = "normalFadeScale", Type = "CFloat"
     };
     doubleSided = new CBool(cr2w)
     {
         Name = "doubleSided", Type = "CBool"
     };
     projectionMode = new CName(cr2w)
     {
         Name = "projectionMode", Type = "CName"
     };
     decalLifetime = new CPtr(cr2w)
     {
         Name = "decalLifetime", Type = "IEvaluatorFloat"
     };
     decalFadeTime = new CFloat(cr2w)
     {
         Name = "decalFadeTime", Type = "CFloat"
     };
     decalFadeInTime = new CFloat(cr2w)
     {
         Name = "decalFadeInTime", Type = "CFloat"
     };
     projectOnlyOnStatic = new CBool(cr2w)
     {
         Name = "projectOnlyOnStatic", Type = "CBool"
     };
     startScale = new CFloat(cr2w)
     {
         Name = "startScale", Type = "CFloat"
     };
     scaleTime = new CFloat(cr2w)
     {
         Name = "scaleTime", Type = "CFloat"
     };
     useVerticalProjection = new CBool(cr2w)
     {
         Name = "useVerticalProjection", Type = "CBool"
     };
     spawnPriority = new CName(cr2w)
     {
         Name = "spawnPriority", Type = "CName"
     };
     autoHideDistance = new CFloat(cr2w)
     {
         Name = "autoHideDistance", Type = "CFloat"
     };
     spawnFrequency = new CFloat(cr2w)
     {
         Name = "spawnFrequency", Type = "CFloat"
     };
 }