public ReflectionSensorBase(ReflectionSensorInfo reflectionSensorInfo, int size) { m_Object = reflectionSensorInfo.Object; m_FieldInfo = reflectionSensorInfo.FieldInfo; m_PropertyInfo = reflectionSensorInfo.PropertyInfo; m_ObservableAttribute = reflectionSensorInfo.ObservableAttribute; m_SensorName = reflectionSensorInfo.SensorName; m_Shape = new[] { size }; }
public ReflectionSensorBase(ReflectionSensorInfo reflectionSensorInfo, int size) { m_Object = reflectionSensorInfo.Object; m_FieldInfo = reflectionSensorInfo.FieldInfo; m_PropertyInfo = reflectionSensorInfo.PropertyInfo; m_ObservableAttribute = reflectionSensorInfo.ObservableAttribute; m_SensorName = reflectionSensorInfo.SensorName; m_ObservationSpec = ObservationSpec.Vector(size); m_NumFloats = size; }