protected override void SetOutputs(IGH_DataAccess da) { AgentSettingType agtset = new AgentSettingType((float)sensor_angle, (float)rotate_angle, (float)sensor_offset, detect_dir_r, detect_dir_phy,death_distance, (float)max_speed, (float)depT); da.SetData(nextOutputIndex++, agtset); }
public AgentSettingType(AgentSettingType a) : this(a.sensor_angle, a.rotate_angle, a.sensor_offset, a.detect_dir_r, a.detect_dir_phy, a.death_distance, a.max_speed, a.depT) { }
protected override void SetOutputs(IGH_DataAccess da) { AgentSettingType agtset = new AgentSettingType((float)sensor_angle, (float)rotate_angle, (float)sensor_offset, detect_dir_r, detect_dir_phy, death_distance, (float)max_speed, (float)depT); da.SetData(nextOutputIndex++, agtset); }