public InventoryIssueLine() { DtoFields.Add(nameof(lineNumber), new DtoValue(0)); DtoFields.Add(nameof(quantity), new DtoValue(1)); RequiredFields.Add("tranType", new DtoValue("Issue")); DtoFields.Add("operation", new NotDto <ApiOperation>(ApiOperation.Insert)); }
public InitialSizeSeed() { RequiredFields.Add(ParticleFields.Size); RequiredFields.Add(ParticleFields.RandomSeed); InheritLocation = InheritLocation.Scale; }
public InitialSizeSeed() { RequiredFields.Add(ParticleFields.Size); RequiredFields.Add(ParticleFields.RandomSeed); DisplayParticleScaleUniform = true; }
public CustomParticleInitializer() { DebugDraw = false; RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.Velocity); RequiredFields.Add(ParticleFields.RandomSeed); }
public SalesOrderLine() { DtoFields.Add(nameof(lineNbr), new DtoValue(0)); DtoFields.Add(nameof(quantity), new DtoValue(1)); RequiredFields.Add("salesOrderOperation", new DtoValue("Issue")); DtoFields.Add("operation", new NotDto <ApiOperation>(ApiOperation.Insert)); }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public UpdaterSizeOverTime() { RequiredFields.Add(ParticleFields.Size); var curve = new ComputeAnimationCurveFloat(); SamplerMain.Curve = curve; }
public SalesOrderLine() { DtoFields.Add(nameof(lineNbr), new DtoValue(0)); DtoFields.Add(nameof(quantity), new DtoValue(1)); RequiredFields.Add("warehouse", new DtoValue(null)); RequiredFields.Add("salesOrderOperation", new DtoValue("Issue")); }
public Initial3DRotationSeed() { RequiredFields.Add(ParticleFields.Quaternion); RequiredFields.Add(ParticleFields.RandomSeed); InheritLocation = InheritLocation.Rotation; }
public Initial3DRotationSeed() { RequiredFields.Add(ParticleFields.Quaternion); RequiredFields.Add(ParticleFields.RandomSeed); DisplayParticleRotation = true; }
public InitialPositionSeed() { RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.RandomSeed); InheritLocation = InheritLocation.Position | InheritLocation.Rotation | InheritLocation.Scale; }
public UpdaterGravity() { // In case of a conventional standard Earth gravitational acceleration, where Y is up. Change it depending on your needs. GravitationalAcceleration = new Vector3(0, -9.80665f, 0); RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.Velocity); }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public UpdaterColorOverTime() { RequiredFields.Add(ParticleFields.Color); var curve = new ComputeAnimationCurveColor4(); SamplerMain.Curve = curve; }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public InitialPositionArc() { RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.RandomSeed); // DisplayPosition = true; // Always inherit the position and don't allow to opt out DisplayParticleRotation = true; }
public InitialVelocitySeed() { RequiredFields.Add(ParticleFields.Velocity); RequiredFields.Add(ParticleFields.RandomSeed); DisplayParticleRotation = true; DisplayParticleScaleUniform = true; }
public InitialDirectionSeed() { RequiredFields.Add(ParticleFields.Direction); RequiredFields.Add(ParticleFields.RandomSeed); DisplayParticleRotation = true; DisplayParticleScaleUniform = true; }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public InitialSizeParent() { RequiredFields.Add(ParticleFields.Size); RequiredFields.Add(ParticleFields.RandomSeed); // DisplayPosition = true; // Always inherit the position and don't allow to opt out DisplayParticleScaleUniform = true; }
public InitialLaserAttributes() { RequiredFields.Add(ParticleFields.Velocity); RequiredFields.Add(ParticleFields.RandomSeed); RequiredFields.Add(ParticleFields.Life); DisplayParticleRotation = true; DisplayParticleScaleUniform = true; }
public CustomParticleUpdater() { // This is going to be our "input" field RequiredFields.Add(ParticleFields.Life); // This is the field we want to update // It is not part of the basic fields - we created it just for this updater RequiredFields.Add(CustomParticleFields.RectangleXY); }
public UpdaterForceField() { // A force field operates over the particle's position and velocity, updating them as required RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.Velocity); // Test purposes only // RequiredFields.Add(ParticleFields.Color); }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public UpdaterForceField() { // A force field operates over the particle's position and velocity, updating them as required RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.Velocity); DisplayParticlePosition = true; DisplayParticleRotation = true; DisplayParticleScale = true; }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public UpdaterCollider() { // The collider shape operates over the particle's position and velocity, updating them as required RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.Velocity); RequiredFields.Add(ParticleFields.Life); DisplayParticlePosition = true; DisplayParticleRotation = true; DisplayParticleScale = true; }
public InitialColorSeed() { RequiredFields.Add(ParticleFields.Color4); RequiredFields.Add(ParticleFields.RandomSeed); }
public Address() { RequiredFields.Add("county", new DtoValue(null)); }
public UpdaterOldPosition() { RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.OldPosition); }
public UpdaterSpeedToDirection() { RequiredFields.Add(ParticleFields.Position); RequiredFields.Add(ParticleFields.OldPosition); RequiredFields.Add(ParticleFields.Direction); }
public InitialVelocitySeed() { RequiredFields.Add(ParticleFields.Velocity); RequiredFields.Add(ParticleFields.RandomSeed); }
public SalesOrder() { IgnoreProperties.Add(nameof(orderNo)); IgnoreProperties.Add("orderNumber"); RequiredFields.Add(nameof(orderType), new DtoValue("SO")); }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public InitialRotationSeed() { RequiredFields.Add(ParticleFields.Angle); RequiredFields.Add(ParticleFields.RandomSeed); }
public SalesOrder(string orderNo, string orderType) { this.orderNo = orderNo; this.orderType = orderType; RequiredFields.Add(nameof(orderType), new DtoValue(orderType)); }
/// <summary> /// Default constructor which also registers the fields required by this updater /// </summary> public InitialSpawnOrder() { spawnOrder = 0; RequiredFields.Add(ParticleFields.Order); }